need help with one command
#1

there is an countdown command,i want to make it like only those players see who are close to him who make /count
so command are here : can someone chanbge it to like that?

Quote:

public countdown()
{
if(cd_sec == 0)
{
GameTextForAll("~r~Go!",1000,3);
KillTimer(cd_timer);
}
else
{
new string[8];
format(string,sizeof(string),"~g~%d",cd_sec);
GameTextForAll(string,1000,3);
}
cd_sec = cd_sec-1;
return 1;
}

and there are
Quote:

if(strcmp(cmd,"/count",true)==0)
{
cd_sec = 5;
cd_timer = SetTimer("countdown", 999, 1);
return true;
}

Reply
#2

sry for double post but please...
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)