14.02.2015, 17:12
Aн
pawn Код:
public OnPlayerStateChange(playerid, newstate, oldstate)
{
//ANTI-ARMAS ILEGAIS COMO PASSENGER - DESERT E SNIPER
if(newstate == PLAYER_STATE_PASSENGER){
new weap = GetPlayerWeapon(playerid);
if(weap == 24 || weap == 34){SetPlayerArmedWeapon(playerid,0);}}
return 1;
}