05.11.2014, 05:35
(
Last edited by ThunderX; 05/11/2014 at 10:28 AM.
)
it just remove gun shop and bot in ammunation
picture
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