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

Somethings like that?

pawn Код:
public OnPlayerInteriorChange(playerid, newinteriorid, oldinteriorid)
{
    if(GetPlayerInterior(playerid) == ID) // Amunation Interior
    {
        SetPlayerArmedWeapon(playerid, 0);
        return 0;
    }
    return 1;
}
Quote:

Does any1 also know how I can close all interiors and have only open the selected one which I choose ? I know I can use -> DisableInteriorEnterExits(); but how I can open the selected interiors which I'm interested in for example Ammu-Nation or any other ?

You will have to use DisableInteriorEnterExits(); and then creating a pickup who will allow you to teleport to ammunation interioir.
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: 3 Guest(s)