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)
^^