AllowInteriorWeapons
#9

Quote:
Originally Posted by Calgon
Quote:
Originally Posted by gotenks918
I wouldn't say removing weapons in interiors is good for RP, your telling me people can't have weapons in doors? XD
About to say the same, and:

pawn Код:
public PlayerWeapons(playerid)
{
if(GetPlayerInterior(playerid) == 0)
{
return 1;
}
else if(GetPlayerWeapon(playerid) > 0)
{
ResetPlayerWeapons(playerid);
HasBeenReset[playerid]++;
}
}
And that's something for your anti-cheat too I guess.. If reset = x, ban for hacks.
lol just use OnPlayer InteriorChange
n then
if(newinterior != 0)
{
ResetPlayerWeapons(playerid);
interior = 1;
}
if(newinterior == 0)
{
interior = 0;
}
and a timer which resets the weapons if(interio == 1)
^^
Reply


Messages In This Thread
AllowInteriorWeapons - by Lightning[SV] - 03.09.2009, 11:25
Re: AllowInteriorWeapons - by Duelos SA - 08.09.2009, 20:03
Re: AllowInteriorWeapons - by [eLg]Timmy - 08.09.2009, 20:36
Re: AllowInteriorWeapons - by Lightning[SV] - 08.09.2009, 21:06
Re: AllowInteriorWeapons - by gotenks918 - 08.09.2009, 21:11
Re: AllowInteriorWeapons - by *Crash* - 08.09.2009, 21:19
Re: AllowInteriorWeapons - by Calgon - 09.09.2009, 00:36
Re: AllowInteriorWeapons - by [RO]Madalin2009 - 09.09.2009, 11:17
Re: AllowInteriorWeapons - by saiberfun - 09.09.2009, 11:44

Forum Jump:


Users browsing this thread: 1 Guest(s)