13.06.2013, 14:23
just like this ?
pawn Код:
public OnPlayerUpdate(playerid)
{
if(GetPlayerInterior(playerid) != 0||1||2||3||4||5||6||7||8||9||10)
{
if(GetPlayerWeapon(playerid))
{
SetPlayerArmedWeapon(playerid,0);
}
}
return 1;
}