[Include] [INC] TextDrawCountDown (Version 1.0) by Littlejohny - 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: Filterscripts (
https://sampforum.blast.hk/forumdisplay.php?fid=17)
+---- Forum: Includes (
https://sampforum.blast.hk/forumdisplay.php?fid=83)
+---- Thread: [Include] [INC] TextDrawCountDown (Version 1.0) by Littlejohny (
/showthread.php?tid=67555)
[INC] TextDrawCountDown by Littl3j0hNy -
Littl3j0hNy - 02.03.2009
[INC] TextDrawCountDown
Hi Community,
You want to make a easy TextDrawCountDown ?
With that Include you can !
Functions:
Code:
TextDrawCountDownForPlayer(playerid, seconds)
Parameters:
playerid[] the player in which the function is being performed
seconds[] how many seconds (max 30)
- Creates a Countdown for a player
TextDrawCountDownForAll(seconds)
Parameters:
seconds[] how many seconds (max 30)
- Creates a Countdown for all players
HideCountDownForPlayer(playerid)
Parameters:
playerid[] the player in which the function is being performed
- Hides the created Countdown for a player - works only with TextDrawCountDownForPlayer
HideCountDownForAll()
Parameters:
none
- Hides the created Countdown for all players - works only with TextDrawCountDownForAll
How to install:
Add in top of your script:
pawn Code:
#include <TextDrawCountDown>
Download:
http://pastebin.com/9RDw6FvB
regards, LJ
Re: [INC] TextDrawCountDown (Version 1.0) by Littlejohny -
Littl3j0hNy - 02.03.2009
Hi,
Hope you like it.
- LJ
Re: [INC] TextDrawCountDown (Version 1.0) by Littlejohny -
Karlip - 02.03.2009
It's awesome LJ. :P
Re: [INC] TextDrawCountDown (Version 1.0) by Littlejohny -
Rks25 - 02.03.2009
Man man man, i got 4 letters for this: n-i-c-e.
Re: [INC] TextDrawCountDown (Version 1.0) by Littlejohny -
Littl3j0hNy - 02.03.2009
Hi,
Thank you all !
- LJ
Re: [INC] TextDrawCountDown (Version 1.0) by Littlejohny -
harrold - 02.03.2009
Pastebin link please?
Re: [INC] TextDrawCountDown (Version 1.0) by Littlejohny -
Littl3j0hNy - 02.03.2009
Hi,
Pastebin Link added.
- LJ
Re: [INC] TextDrawCountDown (Version 1.0) by Littlejohny -
aybo - 02.03.2009
Example Command Please .
Re: [INC] TextDrawCountDown (Version 1.0) by Littlejohny -
Littl3j0hNy - 02.03.2009
HI,
That is a Easy Command, but its a simple Example.
Code:
dcmd_cd(playerid,params[])
{
#pragma unused params
TextDrawCountDown(30);
SendClientMessageToAll(COLOR, "Server: A Countdown is started !!");
return 1;
}
- LJ
Re: [INC] TextDrawCountDown (Version 1.0) by Littlejohny -
Rks25 - 02.03.2009
Tip : anti-spam. I ran it, and everyone did his own /cd , than you saw 15,14,13,15,14,13,12,15,14 etc.
You got my tip?