17.12.2011, 17:47
Code:
public OnPlayerStateChange(playerid, newstate, oldstate) { if(newstate = PLAYER_STATE_DRIVER || newstate == PLAYER_STATE_PASSENGER) { if(GetPlayerWeapon(playerid)) != 29) SetPlayerArmedWeapon(playerid, 0); } return 1; }