#define Count_Start 1000 #define Count_End 700
CountDown[playerid] = 5; // You can change it to your number (MAX 30-40)
Originally Posted by FrozenYuri
its looks funny
![]() nice job ![]() |
Originally Posted by DarkPhoenix
This is great, thank you!
![]() |
Originally Posted by mattym
I love it! Thanks so much!
|
#include <a_samp> new count,cTimer; forward Count(); public OnPlayerCommandText(playerid, cmdtext[]) { if (!strcmp("/countdown",cmdtext)) { if (count == -1) { count = 5; cTimer = SetTimer("Count", 1000, 1); } else SendClientMessage(playerid, 0x6FA7FB30, "* Its allready started! *"); return 1; } return 0; } public Count() { if (count > 0) { new string[80]; format(string, sizeof(string), "~w~- ~r~C~r~~h~o~r~u~r~~h~n~r~t~r~~h~D~r~o~r~~h~w~r~n ~w~- ~n~ _____%d", count); GameTextForAll(string,1000,0); } else if(count == 0) GameTextForAll("Go! Go! Go!",1000,0); else KillTimer(cTimer); count--; }
Originally Posted by Jeffry
Easy, but nice idea and good work!
Keep it up. ![]() |
Originally Posted by Pofka
Omg nice RenisiL , respect
![]() |
Originally Posted by [JIeXa
]
And version by me: Код:
#include <a_samp> new count,cTimer; forward Count(); public OnPlayerCommandText(playerid, cmdtext[]) { if (!strcmp("/countdown",cmdtext)) { if (count == -1) { count = 5; cTimer = SetTimer("Count", 1000, 1); } else SendClientMessage(playerid, 0x6FA7FB30, "* Its allready started! *"); return 1; } return 0; } public Count() { if (count > 0) { new string[80]; format(string, sizeof(string), "~w~- ~r~C~r~~h~o~r~u~r~~h~n~r~t~r~~h~D~r~o~r~~h~w~r~n ~w~- ~n~ _____%d", count); GameTextForAll(string,1000,0); } else if(count == 0) GameTextForAll("Go! Go! Go!",1000,0); else KillTimer(cTimer); count--; } |
Originally Posted by мąүқоҳ
Not bad, but text draw pwns.. So keep up the cool work.
|
Originally Posted by ikarus
Very Nice!!
|
Originally Posted by Crodox RP
Nice i like it
|
Originally Posted by Haji.
Nice.
![]() |
Originally Posted by _Saif_
good job. Liked it
|
Originally Posted by ikarus
Very Nice!!
|
Originally Posted by [GTA
Deadly_Evil ]
Cool i will definitely use it :P |
Originally Posted by xenowortt
nice joob! is very great with textdraws!!
|