19.04.2009, 18:04
i got problem with /count , when i count all in server see it,i want only those players see who are near me ....
heres command
and that thing what i added to end
heres command
Quote:
} return 1; } if(strcmp(cmd,"/count",true)==0) { cd_sec = 5; cd_timer = SetTimer("countdown", 999, 1); return true; } |
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; } |