[FilterScript] Remove bot in ammunation (super simple)
#1

it just remove gun shop and bot in ammunation

pawn Code:
#include <a_samp>
forward AMMUTIMER(playerid);

public OnPlayerInteriorChange(playerid, newinteriorid, oldinteriorid)
{

if (!IsPlayerInAnyVehicle(playerid))
{
    if(oldinteriorid == 0 && newinteriorid == 1)
    {
        SetTimerEx("AMMUTIMER",1000,0, "i", playerid);
    }
    if(oldinteriorid == 0 && newinteriorid == 6)
    {
        SetTimerEx("AMMUTIMER",1000,0, "i", playerid);
    }
    if(oldinteriorid == 0 && newinteriorid == 4)
    {
        SetTimerEx("AMMUTIMER",1000,0, "i", playerid);
    }
}

return 1;
}

public AMMUTIMER(playerid)
{
    SetPlayerShopName(playerid,"FDPIZA");
    return 1;
}

picture

Reply


Messages In This Thread
Remove bot in ammunation (super simple) - by ThunderX - 05.11.2014, 05:35
Re: Remove bot in ammunation (super simple) - by AzaMx - 05.11.2014, 07:51
Re: Remove bot in ammunation (super simple) - by ThunderX - 05.11.2014, 09:01
Re: Remove bot in ammunation (super simple) - by T-N-Z - 05.11.2014, 09:22
Re: Remove bot in ammunation (super simple) - by BlueFire_ - 05.11.2014, 09:30
Re: Remove bot in ammunation (super simple) - by Arastair - 05.11.2014, 09:48
Re: Remove bot in ammunation (super simple) - by ThunderX - 05.11.2014, 10:18

Forum Jump:


Users browsing this thread: 2 Guest(s)