SA-MP Forums Archive
Server sided damage - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Server sided damage (/showthread.php?tid=525934)



Server sided damage - IKnowWhatIAmDoing - 14.07.2014

Lets say I made a server sided damage sysstem using onplayerweaponshot. how can I call onplayertakedamage or givedamage?


Respuesta: Server sided damage - SickAttack - 14.07.2014

You could use CallLocalFunction - https://sampwiki.blast.hk/wiki/CallLocalFunction. But if its some kind of anti god mode system it won't work.


Re: Respuesta: Server sided damage - IKnowWhatIAmDoing - 14.07.2014

Quote:
Originally Posted by SickAttack
Посмотреть сообщение
You could use CallLocalFunction - https://sampwiki.blast.hk/wiki/CallLocalFunction. But if its some kind of anti god mode system it won't work.
The purpose is not to detect the hackers though. Just apply the same thing as the players. Did some tests and noticed give/tske damage doesn't csll for bulletproof gackers. The servef also does not register it as a kill. It says the player died on their own.