SA-MP Forums Archive
Textdraw thats timed? - 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: Textdraw thats timed? (/showthread.php?tid=519149)



Textdraw thats timed? - minijackc - 13.06.2014

Hello, I was wondering how i can make my textdraw be timed. so it stays on screen for 5 seconds and then leaves.

Thanks!


Re: Textdraw thats timed? - RenovanZ - 13.06.2014

pawn Код:
SetTimer("TextdrawTimer", 5000, false, "i", playerid); // Put this under where you create the textdraw

forward TextdrawTimer(playerid);
public TextdrawTimer(playerid);
{
    // destroy the textdraw
    return 1;
}