Las Venturas Playground
Anti weapon cheat - Printable Version

+- Las Venturas Playground (https://forum.sa-mp.nl)
+-- Forum: Main Talk (https://forum.sa-mp.nl/forum-3.html)
+--- Forum: Development (https://forum.sa-mp.nl/forum-16.html)
+--- Thread: Anti weapon cheat (/thread-15196.html)



Anti weapon cheat - Jay - 01-03-2009

2.90 has a new anti weapon cheat, which, using GetPlayerWeaponData, it detects if a player has the following weapons, with offcourse exceptions to minigames and stuff:

- Minigun
- Rocket Launcher
- Heat Seeker
- Molotov Cocktails.

When GetPlayerWeaponData picks up one of these weapons, it will send an admin message, noting that it checks every second, so therefore it could get spammy. It has been extremely tested and proven to be really, really, accuratte.

Overriding

To give a player one of these weapons without it triggering the anticheat, use GiveWeapon(playerid,weaponid,ammo). This function can be called remotely for the use of Peters minigun hacks.

So Peter, next time you decide to use your hacks, FOR THE LOVE OF GOD, use GiveWeapon :)