19.02.2008, 11:34
Kaiser could you also make a simple FS to detect godmode from trainers, like this:
1- 1st Check player health
2- SetPlayerPos(x,y,z+5)
3- wait 2 sec
4- 2nd Check player health
5- if in 2nd playerhealthcheck the health is > or = to 1st player healthcheck then kick
6- if playerhealth < of 1st playerhealthcheck's health, player isnt cheater
Basically it should:
Check the player health, make him fall from a little high distance, check it again,
if health is less than first check player got damage from fall so no cheating,
if health is equal or superior player didnt got any dmg from the fall, so cheat is detected.
This would be the perfect anti-godmode for trainers users, i hope you can do it
1- 1st Check player health
2- SetPlayerPos(x,y,z+5)
3- wait 2 sec
4- 2nd Check player health
5- if in 2nd playerhealthcheck the health is > or = to 1st player healthcheck then kick
6- if playerhealth < of 1st playerhealthcheck's health, player isnt cheater
Basically it should:
Check the player health, make him fall from a little high distance, check it again,
if health is less than first check player got damage from fall so no cheating,
if health is equal or superior player didnt got any dmg from the fall, so cheat is detected.
This would be the perfect anti-godmode for trainers users, i hope you can do it