SendDeathMessage - 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: SendDeathMessage (
/showthread.php?tid=654874)
SendDeathMessage -
Uvais - 08.06.2018
I have a modular gamemode, I placed SendDeathMessage under OnPlayerDeath callback in every file but still it doesn't work. Similar problem for UpdatePlayerWanted function. I want to show player death in kill log and update the player's wanted level to 0. I've added it in every file.
Re: SendDeathMessage -
Exhibit - 08.06.2018
Post the code for OnPlayerDeath..
Re: SendDeathMessage -
killua1232 - 09.06.2018
Check if you have any filterscript or include that has OnPlayerDeath return 0; and change it to return 1;
Re: SendDeathMessage -
Sew_Sumi - 09.06.2018
You're going to need to learn how to hook, and not do modulation, by simply making multiple files. As Exhibit said, show your code.
killua1232 Don't throw up random guesses, as it's not a help at all.