How to make a Car Color command?
#12

Never tryed before, let me go try one, check back here soon.

EDIT

Top of script
Code:
new timer;
new secs;
The command.

Code:
if(!strcmp(cmd,"/countdown,true)) {
  secs = 5;
  timer = SetTimer("countdown", 999, 1);
  return 1;}
the function.

Code:
forward Countdown();
public Countdown()
{
if(secs == 0)
{
GameTextForAll("~r~Go!",1000,3);
KillTimer(timer);
}
else
{
new string[8];
format(string,sizeof(string),"~R~%d",secs);
GameTextForAll(string,1000,3);
}
secs = secs-1;
return 1;
}

Reply


Messages In This Thread
How to make a Car Color command? - by Toni - 01.06.2010, 18:07
Re: How to make a Car Color command? - by russo666 - 01.06.2010, 18:10
Re: How to make a Car Color command? - by DJDhan - 01.06.2010, 18:15
Re: How to make a Car Color command? - by Toni - 01.06.2010, 18:16
Re: How to make a Car Color command? - by DJDhan - 01.06.2010, 18:18
Re: How to make a Car Color command? - by Toni - 01.06.2010, 18:22
Re: How to make a Car Color command? - by DJDhan - 01.06.2010, 18:25
Re: How to make a Car Color command? - by Toni - 01.06.2010, 18:43
Re: How to make a Car Color command? - by -Rebel Son- - 01.06.2010, 19:31
Re: How to make a Car Color command? - by -Rebel Son- - 01.06.2010, 19:41
Re: How to make a Car Color command? - by Toni - 01.06.2010, 19:46
Re: How to make a Car Color command? - by -Rebel Son- - 01.06.2010, 19:52
Re: How to make a Car Color command? - by Toni - 01.06.2010, 20:08
Re: How to make a Car Color command? - by -Rebel Son- - 01.06.2010, 20:11
Re: How to make a Car Color command? - by HerronInd - 23.02.2011, 13:27
Re: How to make a Car Color command? - by HerronInd - 23.02.2011, 13:29
Re: How to make a Car Color command? - by HerronInd - 23.02.2011, 13:31
Re: How to make a Car Color command? - by HyperZ - 23.02.2011, 13:34
Re: How to make a Car Color command? - by HerronInd - 23.02.2011, 13:42
Re: How to make a Car Color command? - by SA_Claude - 30.08.2011, 03:45

Forum Jump:


Users browsing this thread: 1 Guest(s)