Anticheat
#1

Hello,

Could you tell me how to detect if a player spawned a gun ? I don't want to forbid players from using certain types of guns i want them to use them as long as they bought them and not spawned them (cheated).

Has anyone got an idea ? Thank you very much
Reply
#2

Don't think it's possible to detect if they buy a gun from a ammo-Nation
Reply
#3

You can replace original GTA ammunation with scripted one. I have one on my server(check signature).
Reply
#4

Quote:
Originally Posted by [LOGS
Davis ]
Don't think it's possible to detect if they buy a gun from a ammo-Nation
They don't buy from ammo-nation, i use GivePlayerWeapon only. So i want them to be banned if they don't get their wepons from GivePlayerWeapon function
Reply
#5

Store weapon data in arrays. Use this as an example.
Reply
#6

Quote:
Originally Posted by CrαcK
Use this as an example.
Thats something totaly different, theres no way of creating serverside weapons :P
Reply
#7

Why not? Keep a variable index that keeps track of what weapons a player has bought/picked up. That's what I do.
Reply
#8

Quote:
Originally Posted by Joe Staff
Why not? Keep a variable index that keeps track of what weapons a player has bought/picked up. That's what I do.
Could you give me an example code please ?
Reply
#9

Quote:
Originally Posted by Zeromanster
Quote:
Originally Posted by CrαcK
Use this as an example.
Thats something totaly different, theres no way of creating serverside weapons :P
No, that's exactly what are you looking for.
Reply
#10

Please help, i need some little example to get me started, please
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)