need help with /count - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: need help with /count (
/showthread.php?tid=74093)
need help with /count -
WardenCS - 19.04.2009
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
Quote:
}
return 1;
}
if(strcmp(cmd,"/count",true)==0)
{
cd_sec = 5;
cd_timer = SetTimer("countdown", 999, 1);
return true;
}
|
and that thing what i added to end
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;
}
|
Re: need help with /count -
Rks25 - 19.04.2009
I will try to make something for you. will post when done.
Re: need help with /count -
WardenCS - 19.04.2009
thx ur the best u helped me with /mute 2 ,and if u can help me later with login then tell me please
Re: need help with /count -
Rks25 - 19.04.2009
Try
http://pastebin.com/d32983642
Re: need help with /count -
WardenCS - 19.04.2009
it still shows to everyone
Re: need help with /count -
Rks25 - 19.04.2009
decrease the radius, i thought this should work.
Re: need help with /count -
WardenCS - 19.04.2009
how lol
Re: need help with /count -
Rks25 - 19.04.2009
lower the radius to 5 degrees.