SA-MP Forums Archive
Hello all, Little help - 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: Hello all, Little help (/showthread.php?tid=92085)



Hello all, Little help - Taz86 - 18.08.2009

Hey guys,

I saw in that Dm Stunt servers, When you kill someone or played died, So in the right side of screeen its shows for all, Like Taz, Killed Yellow, And its shows the playercolor, and the gun he used..


Now Im asking, Where I can get it eh?..


Re: Hello all, Little help - cozza123456 - 18.08.2009

right, put this in your GM Script at the bottom

public OnPlayerDeath(playerid, killerid, reason)
{
SendDeathMessage(killerid, playerid, reason);
}


Hope this helped


Re: Hello all, Little help - Taz86 - 18.08.2009

Hmm Ive tested the Senddeathmessage, Didnt worked he, i Did /kill, Nothing ..


Re: Hello all, Little help - cozza123456 - 18.08.2009

right, so you got

{
SendDeathMessage(killerid, playerid, reason);
}

under Public OnPlayerDeath(playerid, killerid, reason)




if yes, give me ip and i will join and u can kill me to see if works? kk?


Re: Hello all, Little help - Taz86 - 18.08.2009

public OnPlayerDeath(playerid, killerid, reason)
{
SendDeathMessage(killerid, playerid, reason);
return 1;
}

i got this lines


Re: Hello all, Little help - cozza123456 - 18.08.2009

ok right try giving me ip and then u can shoot me