- 0
AutoRace
-
Recently Browsing 0 members
- No registered users viewing this page.
We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.
Question
Samy Romafia
[pawn]/*AutoRace*/
new RAutoRace;
CMD:startautorace(playerid, params[])
{
if(!IsPlayerAdmin(playerid)) return SendClientMessage(playerid, RED, "<!> You are not an administrator!");
if(RaceBusy == 0x01 || RaceStarted == 1) return SendClientMessage(playerid, RED, "<!> There's a race currently. Wait first till race ends!");
if(AutomaticRace == true) return SendClientMessage(playerid, RED, "<!> It's already enabled!");
LoadRaceNames();
LoadAutoRace(RaceNames[random(TotalRaces)]);
AutomaticRace = true;
SendClientMessage(playerid, GREEN, ">> You stared auto race. The filterscript will start a random race everytime the previous race is over!");
RAutoRace = true;//3542
return 1;
}[/pawn]
Warn:
De-ce imi da warningul asta?
www.dsrclan.forumfree.it
Link to comment
Share on other sites
5 answers to this question
Recommended Posts