SA-MP Forums Archive
Wait function - 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Wait function (/showthread.php?tid=85293)



Wait function - [VL]Miklo - 06.07.2009

Hi there,

I'm looking for a wait function, something like

Код:
SendClientMessage(h, COLOR_YELLOW, "Please wait...");
Wait(3); //Means the server waits for 3 seconds before continuing
SendClientMessage(h, COLOR_YELLOW, "Ok. Please select gun...");
Thanks


Re: Wait function - -Sneaky- - 06.07.2009

https://sampwiki.blast.hk/wiki/SetTimerEx

Read it.


Re: Wait function - Correlli - 06.07.2009

Don't use Wait function, it will just lag your server.