Posts: 1,496
Threads: 78
Joined: Jun 2008
Reputation:
0
I find that if you use GetPlayerWeaponData in OnPlayerSpawn, it will return the weapons and ammos that the player had before death, even the player has no weapon at that moment.
Posts: 7
Threads: 0
Joined: Jan 2012
Reputation:
0
same thing happens on my server...
Posts: 2,286
Threads: 18
Joined: Jun 2010
Then removing his weapons on death should fix the problem.
Posts: 77
Threads: 9
Joined: Oct 2010
Reputation:
0
I tried to make an anticheat system and it checks if the player have weapon in OnPlayerRequestSpawn, and i had same result
Posts: 359
Threads: 63
Joined: Jul 2010
Reputation:
0
Same thing can happen with entering vehicles, best to just check player conditions before checking their weapons.
I personally don't check weapons when the player is in the vehicle, so they can hack all they like in a vehicle, but the second they get out BOOM, it will get them.