11.07.2011, 13:40
That code is zcmd. This should work:
...I gave you the working code, if you don't read this then you're a fool.
EDIT: It should be pointed out that this code will exit a building you're in if you hit 'KEY_SECONDARY_ATTACK' and then enter it again.
pawn Код:
if(newkeys & KEY_SECONDARY_ATTACK) cmd_exit(playerid, "");
if(newkeys & KEY_SECONDARY_ATTACK) cmd_enter(playerid, "");
EDIT: It should be pointed out that this code will exit a building you're in if you hit 'KEY_SECONDARY_ATTACK' and then enter it again.