SA-MP Forums Archive
settimerex.. killerid or playerid? - 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: settimerex.. killerid or playerid? (/showthread.php?tid=651731)



settimerex.. killerid or playerid? - ivndosos - 26.03.2018

I'm making a textdraw when you kill someone,


so first of all

TextDrawShowForPlayer(killerid, gYouKilled);
SetTimerEx("YouKilledTD", 4000, false, "i", killerid);


on settimer ex

SetTimerEx("YouKilledTD", 4000, false, "i", killerid);

since its for the killerid do i put playerid here or killerid?


Re: settimerex.. killerid or playerid? - David (Sabljak) - 26.03.2018

OnPlayerDeath

playerid is player who dies, killerid is who kills