[Include] [INC] TextDrawCountDown (Version 1.0) by Littlejohny
#1

[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
Reply
#2

Hi,
Hope you like it.

- LJ
Reply
#3

It's awesome LJ. :P
Reply
#4

Man man man, i got 4 letters for this: n-i-c-e.
Reply
#5

Hi,
Thank you all !

- LJ
Reply
#6

Pastebin link please?
Reply
#7

Hi,
Pastebin Link added.

- LJ
Reply
#8

Example Command Please .
Reply
#9

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
Reply
#10

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?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)