10.11.2010, 16:28
I need some help with this
I dont know if its just being a bitch or what, but as you can see i defined when it should happen,
now when ever i press the enter/exit key which i ment to make the menu to hide and give me
movemoment back it doest cares if the menu is showen or not, its just executes the function
which brings lots of troubles like you cant enter a single car because it autoaticly resets your
animations and stuff, if anyone could help me to solve this...
Thanks, best regards.
pawn Код:
new Menu:current;
current = GetPlayerMenu(playerid);
if(current == wepmenu)
{
if (PRESSED(KEY_SECONDARY_ATTACK))
{
TogglePlayerControllable(playerid, 1);
}
}
now when ever i press the enter/exit key which i ment to make the menu to hide and give me
movemoment back it doest cares if the menu is showen or not, its just executes the function
which brings lots of troubles like you cant enter a single car because it autoaticly resets your
animations and stuff, if anyone could help me to solve this...
Thanks, best regards.