server crashing when someone stabing in the back - 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 crashing when someone stabing in the back (
/showthread.php?tid=526605)
server crashing when someone stabing in the back -
maximthepain - 18.07.2014
Hello everyone,
I'm having a weird thing on my server which makes it crash. when player stab someone in the back with a knife, the server just freezes and crashes..I'm just asking is anyone knows where i can find the source of the problem? which function may do it? because i didn't add anything under OnPlayerTakeDamage that includes a knife damage..
I'm curious why this is happening.. Please help
Re: server crashing when someone stabing in the back -
Konstantinos - 18.07.2014
Load crashdetect plugin. After a server crash, post the server log.
Respuesta: server crashing when someone stabing in the back -
Xabi - 18.07.2014
Maybe try to search in the OnPlayerDeath and OnPlayerGiveDamage callbacks?
Re: server crashing when someone stabing in the back -
maximthepain - 18.07.2014
OnPlayerDeath and OnPlayerGiveDamage doesn't have anything to do with the knife.
I'll try crashdetect..