Server sided damage
#1

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

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

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


Forum Jump:


Users browsing this thread: 1 Guest(s)