SA-MP Forums Archive
Kill/Death Textdraw - 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: Kill/Death Textdraw (/showthread.php?tid=459153)



Kill/Death Textdraw - Insulin - 21.08.2013

need on player death

there shud be a textdraw for killer/killed

you got killed by %s
you killed %s

it shud be for 3 seconds and shud bu in blue color, sky blue preffered. thanks in advance


Re: Kill/Death Textdraw - Insulin - 22.08.2013

bumpy


Re: Kill/Death Textdraw - Sanady - 22.08.2013

Hmm look.%s is for string %d is for integer so you should use change this:
pawn Код:
you got killed by %s
you killed %s
To:
pawn Код:
you got killed by %d
you killed %d



Re: Kill/Death Textdraw - Konstantinos - 22.08.2013

Quote:
Originally Posted by Sanady
Посмотреть сообщение
Hmm look.%s is for string %d is for integer so you should use change this:
pawn Код:
you got killed by %s
you killed %s
To:
pawn Код:
you got killed by %d
you killed %d
He does not want to show "You got killed by 41" (a random ID, but the player's name).

@Insulin It's not a scripting request, there were few threads related to requests. Get the players' name in OnPlayerDeath (killerid and playerid) and show it with game text or you can create one yourself by using a textdraw editor. ****** it, iPLEOMAX's one is really nice.