17.12.2011, 16:08
pawn Code:
public OnPlayerStateChange(playerid, newstate, oldstate)
{
if(newstate == PLAYER_STATE_PASSENGER)
{
if(GetPlayerWeapon(playerid) == 24)
{
SetPlayerArmedWeapon(playerid, 0);
}
}
return 1;
}
public OnPlayerStateChange(playerid, newstate, oldstate)
{
if(newstate == PLAYER_STATE_PASSENGER)
{
if(GetPlayerWeapon(playerid) == 24)
{
SetPlayerArmedWeapon(playerid, 0);
}
}
return 1;
}