09.10.2012, 00:28
OnPlayerStateChange
Player can't shoot on the cars
Код:
if(newstate == PLAYER_STATE_DRIVER || newstate == PLAYER_STATE_PASSENGER) { new Weap[2]; GetPlayerWeaponData(playerid, 4, Weap[0], Weap[1]); SetPlayerArmedWeapon(playerid, Weap[0]); }