SA-MP Forums Archive
GameTextForPlayer - 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: GameTextForPlayer (/showthread.php?tid=565118)



GameTextForPlayer - NinjahZ - 25.02.2015

Hi there, I am wondering how I would..how should I say
Que a GameText to show after 1 has finished.
So in this case, I am making a Gas Station script

RefuelingVehicleTimer[playerid] = SetTimerEx("ReFill", 1000, true, "ii", playerid, RefuelingVehicleSlot);
GameTextForPlayer(playerid, "~w~Fueling up...", 2000, 3);

But I would like another GameText to show after that one has finished after the 2000...
I have tried the Wiki, I tried searching but I had no luck or maybe I was looking in the wrong place.
I am going to feel so bad if this is simple so please do not judge me based on my scripting knowledge


Re: GameTextForPlayer - CalvinC - 25.02.2015

Create a timer of 2000 milliseconds and display another GameTextForPlayer.


Re: GameTextForPlayer - -=Dar[K]Lord=- - 25.02.2015

Ok what you can do is initiate a new timer after showing the gametextforplayer in the timer function set the timers interval to 2000 or so?

Keep it for day 2500 so its ... 2.5s initiated after first timer

OffTopic: damn kel you are fast ._.