Posts: 2,286
Threads: 18
Joined: Jun 2010
Quote:
Originally Posted by Jari_Johnson*
pawn Код:
//onplayerspawn put this SetTimer("Killdraw",10000,1); //it "updates" the textdraw every 10 seconds
forward Killdraw(playerid); public Killdraw(playerid) { TextDrawDestroy()//destroy the textdraw Text:TextDrawCreate()//create it again }
@MP2 yes that's also possible, my bad, i can make a code of that aswell if he wants it that way..
|
*facepalm* Ever heard of the "killerid" variable in OnPlayerDeath? Plus why would he need to create a new one when he can just TextDrawSetString ?
https://sampwiki.blast.hk/wiki/TextDrawSetString
Edit: Oh you edited your post... Then only see the 2nd sentence