முதன்மை உள்ளடக்கத்துக்குச் செல்லவும்

GetMenuPos

எச்சரிக்கை

செயல்பாடு என்பது omp v1.1.0.2612 பதிப்பில் சேர்க்கப்பட்டது. இது முந்தைய பதிப்புகளில் இயங்காது!

Description​

Get the x/y screen position of the menu.

NameDescription
Menu:menuidThe ID of the menu.
&Float:xA float variable in which to store the X position in, passed by reference.
&Float:yA float variable in which to store the Y position in, passed by reference.

Returns​

This function always returns true.

Examples​

new Float:x, Float:y;
GetMenuPos(menuid, x, y);