18.03.2014, 19:39
Okay, so i got this
What to change?
Quote:
if(newstate == PLAYER_STATE_PASSENGER) { SetPlayerArmedWeapon(playerid,0); } if(newstate == PLAYER_STATE_PASSENGER) { if(newstate == PLAYER_STATE_PASSENGER) { new gun,tmp; GetPlayerWeaponData(playerid,4,gun,tmp); #pragma unused tmp if(gun)SetPlayerArmedWeapon(playerid,gun); else SetPlayerArmedWeapon(playerid,0); } |