I Need to make this function - 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)
+--- Thread: I Need to make this function (
/showthread.php?tid=429409)
I Need to make this function -
M3mPHi$_S3 - 09.04.2013
Well ... i am using ryder race system :
well i use /startautorace for auto race but when i use this command so it spam my server like sending again and again
Код:
"%d" second untill race start
and
Код:
race ended due to 0 player
so i want it like at first there should be client message " Race %d is active " and if 1 player join it then it should give that ( %d untill race %d starts ) else if no player join then it should not send that message. thanks here is pastebin code . You can see and post the link with edited :
http://pastebin.com/dAjpTvqM
Re: I Need to make this function -
Gamer_007 - 09.04.2013
Use a counter variable and on join command increase it and if the count is 0, end the race
Re: I Need to make this function -
M3mPHi$_S3 - 09.04.2013
Quote:
Originally Posted by Gamer_007
Use a counter variable and on join command increase it and if the count is 0, end the race 
|
Well thanks but i tried my best but failed Can you do it with simple edit please please?>
Re: I Need to make this function -
Gamer_007 - 09.04.2013
Can you create a paste of ur race ?
Re: I Need to make this function -
M3mPHi$_S3 - 09.04.2013
Quote:
Originally Posted by Gamer_007
Can you create a paste of ur race ? 
|
I will post it for you but please first can you do that for me ?
Re: I Need to make this function -
Gamer_007 - 09.04.2013
Quote:
Originally Posted by мυ∂υℓ_вacнα
I will post it for you but please first can you do that for me ?
|
LOL then why I ask you to create a paste?? O.o
Re: I Need to make this function -
M3mPHi$_S3 - 09.04.2013
Quote:
Originally Posted by Gamer_007
LOL then why I ask you to create a paste?? O.o
|
What are you talking about ? If about the paste of code so i have already posted it look at my thread post's.
AW: I Need to make this function -
Cypog - 09.04.2013
The function CountTillRace makes no sense, you mixed up switch and else. You should better do some scripting tutorials before asking specific questions.
Re: AW: I Need to make this function -
M3mPHi$_S3 - 09.04.2013
Quote:
Originally Posted by Cypog
The function CountTillRace makes no sense, you mixed up switch and else. You should better do some scripting tutorials before asking specific questions.
|
Well you should try to make sence. that's fully work i mean this code works . You had better to do soem thing in this edition , dont talk useless
Re: I Need to make this function -
M3mPHi$_S3 - 10.04.2013
No one ?