04.09.2013, 07:55
(
Последний раз редактировалось NiceWizard; 04.09.2013 в 10:38.
)
Can I do that for multiple shops like this :
Will this work like this ?
pawn Код:
public OnPlayerInteriorChange(playerid, newinteriorid, oldinteriorid)
{
if(GetPlayerInterior(playerid) == ID) // Amunation Interior
if(GetPlayerInterior(playerid) == ID) // Different Interior 1
if(GetPlayerInterior(playerid) == ID) // Different Interior 2
{
SetPlayerArmedWeapon(playerid, 0);
return 0;
}
return 1;
}