Problem ID 0 - 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: Problem ID 0 (
/showthread.php?tid=629064)
Problem ID 0 -
BluCKUbS - 19.02.2017
Hello. I have a problem. If a player have id 0, he dies elsewhere. How can i solved this?
Re: Problem ID 0 -
Dutheil - 19.02.2017
There are many factors that can cause this, do you have any sensitive codes to show us ?
Re: Problem ID 0 -
BluCKUbS - 19.02.2017
I don't know where is the problem...
Re: Problem ID 0 -
yutaruta - 19.02.2017
you can start searching "SetPlayerHealth".
thats strange, there is a bug in your code.
Re: Problem ID 0 -
Flamehaze7 - 20.02.2017
Like the above comment said try to check for the "SetPlayerHealth(" stuff, so you can see if there's a mistake.
Re: Problem ID 0 -
BluCKUbS - 20.02.2017
I have not found the problem. The Game Mod is very big... To more variables, to more functions.. 61661 lines. It's a RPG server romanian.
Re: Problem ID 0 -
BluCKUbS - 20.02.2017
I found the problem... But i don't know how solve... When i use the command /last 0 kills, i get this:
http://imgur.com/a/VUnUF and where is reason: Nothing, player where kill me, don't shoot me, he fight with another player... When i don't make a action, I'm dying of nothing.
Re: Problem ID 0 -
BluCKUbS - 20.02.2017
Problem it's from Cheats(aimk) aimbot... I make a this script:
http://pastebin.com/1nQ53qc6. When a aimboter kill somebody from a big distance, and in last kills, reason write "Nothing", he get banned from admbot.