20.09.2014, 07:52
https://sampwiki.blast.hk/wiki/OnPlayerKeyStateChange
Код:
if(GetPlayerState(playerid) == PLAYER_STATE_ONFOOT) { if(newkeys & 65536) //Value { OnPlayerCommandText(playerid, "/robstore"); //cmd return 1; } }