added menu_cancel
This commit is contained in:
parent
522511d059
commit
dc8e162e26
@ -808,6 +808,11 @@ native menu_addblank(menu, slot=1);
|
|||||||
//The third value depends on the property
|
//The third value depends on the property
|
||||||
native menu_setprop(menu, prop, ...);
|
native menu_setprop(menu, prop, ...);
|
||||||
|
|
||||||
|
//Cancels a player's menu, effectively forcing the player to select MENU_EXIT
|
||||||
|
//The menu will still exist on their screen but any results are invalidated,
|
||||||
|
//and the callback is invoked.
|
||||||
|
native menu_cancel(player);
|
||||||
|
|
||||||
// Gets distance between two origins (float)
|
// Gets distance between two origins (float)
|
||||||
native Float:get_distance_f( Float:Origin1[3], Float:Origin2[3] );
|
native Float:get_distance_f( Float:Origin1[3], Float:Origin2[3] );
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user