death reason not showing properly with rockets, grenades and fire - 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)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: death reason not showing properly with rockets, grenades and fire (
/showthread.php?tid=161462)
death reason not showing properly with rockets, grenades and fire -
aNdReSk - 20.07.2010
pawn Код:
format(MurderString,256,"%s killed %s",killerrname,victimname);
if (reason == 36){format(MurderString,256,"%s blew %s",killerrname, victimname);} // Heat Rocket
if (reason == 16){format(MurderString,256,"%s assploded %s!",killerrname, victimname);} // Grenades
if (reason == 28){format(MurderString,256,"%s sprayed %s!",killerrname, victimname);} // Uzi
On player death, only meeles and firearms show the proper message (in this case only the Uzi shows the right message and the rocket or grenades doesnt! it shows the basic one (made before checking the guns).
how come?
Re: death reason not showing properly with rockets, grenades and fire -
aNdReSk - 20.07.2010
bump

plz any ideas?
Re: death reason not showing properly with rockets, grenades and fire -
Venturas - 20.07.2010
It will crash the server so I recommend removing it from your script until you get help.
Re: death reason not showing properly with rockets, grenades and fire -
aNdReSk - 20.07.2010
it doesnt crash :P