How to disable weapons in certain interiors ? [Rep+]
#4

Can I do that for multiple shops 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;
}
Will this work like this ?
Reply


Messages In This Thread
How to disable weapons in certain interiors ? [Rep+] - by NiceWizard - 03.09.2013, 23:58
Respuesta: How to disable weapons in certain interiors ? [Rep+] - by recor - 04.09.2013, 00:04
Re : How to disable weapons in certain interiors ? [Rep+] - by Matnix - 04.09.2013, 00:08
Re: Re : How to disable weapons in certain interiors ? [Rep+] - by NiceWizard - 04.09.2013, 07:55

Forum Jump:


Users browsing this thread: 1 Guest(s)