SA-MP Forums Archive
OnPlayerGiveDamage - 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: OnPlayerGiveDamage (/showthread.php?tid=576835)



OnPlayerGiveDamage - nastasescu - 07.06.2015

aaaaa


Re: OnPlayerGiveDamage - GeorgeMcReary - 07.06.2015

Quote:
Originally Posted by nastasescu
Посмотреть сообщение
I have a problem with onplayergivedamage!
[11:50:46] DEATH: [FC]NonSt0p3R was killed by bisCuiTe with gun 32
[11:50:46] [debug] Run time error 3: "Stack/heap collision (insufficient stack size)"
[11:50:46] [debug] Stack pointer (STK) is 0x16B0BE4, heap pointer (HEA) is 0x16B111C
[11:50:46] [debug] AMX backtrace:
[11:50:46] [debug] #0 00042e64 in public OnPlayerGiveDamage (4, 8, 1087583028, 32, 3) from us.amx
[11:50:46] DEATH: [FC]NonSt0p3R was killed by bisCuiTe with gun 32
[11:50:46] [debug] Run time error 3: "Stack/heap collision (insufficient stack size)"
[11:50:46] [debug] Stack pointer (STK) is 0x16B0BE4, heap pointer (HEA) is 0x16B111C
[11:50:46] [debug] AMX backtrace:
[11:50:46] [debug] #0 00042e64 in public OnPlayerGiveDamage (4, 8, 1087583028, 32, 3) from us.amx
[11:50:46] DEATH: [FC]NonSt0p3R was killed by bisCuiTe with gun 32
[11:50:46] [debug] Run time error 3: "Stack/heap collision (insufficient stack size)"
[11:50:46] [debug] Stack pointer (STK) is 0x16B0BE4, heap pointer (HEA) is 0x16B111C
[11:50:46] [debug] AMX backtrace:
[11:50:46] [debug] #0 00042e64 in public OnPlayerGiveDamage (4, 8, 1087583028, 32, 3) from us.amx
[11:50:46] DEATH: [FC]NonSt0p3R was killed by bisCuiTe with gun 32
[11:50:46] [kill] bisCuiTe killed [FC]NonSt0p3R TEC9
[11:50:46] DEATH: [FC]NonSt0p3R was killed by bisCuiTe with gun 32
[11:50:46] [debug] Run time error 3: "Stack/heap collision (insufficient stack size)"
[11:50:46] [debug] Stack pointer (STK) is 0x16B0BE4, heap pointer (HEA) is 0x16B111C
[11:50:46] [debug] AMX backtrace:
[11:50:46] [debug] #0 00042e64 in public OnPlayerGiveDamage (4, 8, 1087583028, 32, 6) from us.amx

When a player is hit and the player is dead, he will die multiple times.
OnPlayerDeath: http://pastebin.com/UZkaBfxN
OnPlayerGiveDamage: http://pastebin.com/iz2iPiKb
are you using any Filterscript like death system? or check any other FS you are using does it contains OnPlayerDeath callback?