GetPlayerWeaponData in OnPlayerSpawn
#1

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.
Reply
#2

same thing happens on my server...
Reply
#3

Then removing his weapons on death should fix the problem.
Reply
#4

I tried to make an anticheat system and it checks if the player have weapon in OnPlayerRequestSpawn, and i had same result
Reply
#5

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.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)