Posts: 118
Threads: 7
Joined: Feb 2009
Reputation:
0
I still can use weapons in interiors. Is it a Bug?
In 0.2 its disabled by default but i also tried using AllowInteriorWeapons(0) under OnGameModeInit() but i could still use them.
Posts: 96
Threads: 1
Joined: Jun 2008
Reputation:
0
Function is useless anyways. Make your own function?
Posts: 202
Threads: 0
Joined: May 2007
Reputation:
0
I wouldn't say removing weapons in interiors is good for RP, your telling me people can't have weapons in doors? XD
Posts: 6,129
Threads: 36
Joined: Jan 2009
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.
Posts: 123
Threads: 16
Joined: May 2008
Reputation:
0
Why were some functions deleted? I don't get it.