10.01.2015, 18:49
put the following code under "OnPlayerStateChange"
or if you want to disable driver drive-by too
Код:
if(newstate == PLAYER_STATE_PASSENGER) { SetPlayerArmedWeapon(playerid,0); }
Код:
if(newstate == PLAYER_STATE_PASSENGER || newstate == PLAYER_STATE_DRIVER) { SetPlayerArmedWeapon(playerid,0); }