Death Message [Solved] - 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 Message [Solved] (
/showthread.php?tid=133018)
Death Message [Solved] -
Fonsie - 10.03.2010
How do i create a message in the chat box when someone get killed..
Like:
Mr.noobie killed mr.slave with a chainsaw
Re: Death Message -
aircombat - 10.03.2010
use reasons :
if(reason == weaponid)
{
//urcodehere
}
and u format a string using killerid and playerid
Re: Death Message -
ihatetn931 - 10.03.2010
Quote:
Originally Posted by [AC
Etch ]
use reasons :
if(reason == weaponid)
{
//urcodehere
}
and u format a string using killerid and playerid
|
That goes under
public OnPlayerDeath(playerid, killerid, reason)
Re: Death Message -
Fonsie - 10.03.2010
Quote:
Originally Posted by [AC
Etch ]
use reasons :
if(reason == weaponid)
{
//urcodehere
}
and u format a string using killerid and playerid
|
I dont really get it.. Do you have an example for me?
Re: Death Message -
Fonsie - 10.03.2010
NVM I GET IT
Thanks all