SA-MP Forums Archive
Help: loading 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: Help: loading textdraw.. (/showthread.php?tid=372947)



Help: loading textdraw.. - NewbieScripter - 28.08.2012

im making a loading textdraw...

.. i have created the textdraws.. are two

so, i explain what i want... :

example: when player connect, show the two loading textdraw... for 4 seconds.. and will be carried out after the connection to the server (i.e: Connected to SA-MP 0.3 Server, destroy the textdraw, after this message, SA-MP 0.3e Started, Connecting to ip here ... , Connected. Joining the game...)

possible ? please if yes.. thanks


Re: Help: loading textdraw.. - RenSoprano - 28.08.2012

Why you not make it with timer?

Code:
SetTimeEx("HideTextDraw", 5000, false, "d", playerid)
The function need forwar so you need to add this:

Code:
forward HideTextDraw(playerid);
And here is our callback

pawn Code:
public HideTextDraw(playerid) }

   TextDrawHideForPlayer(playerid, YourTextDrawNameplayerid]);
   return 1;
{

EDIT: Forget to add forward


Re: Help: loading textdraw.. - NewbieScripter - 28.08.2012

yes but for blocking a connection to the server for 4 seconds, and when appear Connected to SA-MP 0.3 Server ? read my post