SA-MP Forums Archive
Put Randrom Races How? - 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: Put Randrom Races How? (/showthread.php?tid=24912)



Put Randrom Races How? - splitx - 03.02.2008

I have the Race Cords But i made With: Yagu's Race Filterscript But i Want The Races To be in GM and A new Race Will Start Every 10min i know how to use Timer But i dont know how to put The File in gm Help any 1

(I want it like PenLS(LV)(GF)) Thx


Re: Put Randrom Races How? - splitx - 03.02.2008

Yes i know i cand do that but i DONT want to do /loadrace Racename every time i want like in PenLS Where the missions are random how can make that?


Re: Put Randrom Races How? - LethaL - 03.02.2008

i know this i vital for u to finish your gamemode so ill tell u the gm with it in

SATDM~RP+Biz+Stream+Race+KIHC+Gang+XVM

EDIT: just had a look at yrace & it has race rotation in built so u can just copy and paste, as was said b4



Re: Put Randrom Races How? - splitx - 03.02.2008

Quote:
Originally Posted by LethaL
EDIT: just had a look at yrace & it has race rotation in built so u can just copy and paste, as was said b4
Waht Do u mean?


Re: Put Randrom Races How? - LethaL - 03.02.2008

i thought the edit was clear rotation is the race starting automatically every 10 mins, therefore u have all u need


Re: Put Randrom Races How? - splitx - 03.02.2008

Ok But....Idk Where Every Thing is xD


Re: Put Randrom Races How? - LethaL - 03.02.2008

Quote:
Originally Posted by Splitx
Ok But....Idk Where Every Thing is xD
Everything is in the yrace.pwn copy the lot, thats the easy option


Re: Put Randrom Races How? - splitx - 03.02.2008

Du U mean To Copy Every Thing? Cuz then i will need to do /loadrace name every time i dont realy understand i just want some thing that can load the file.yr like

pawn Код:
new Float:Races[3][159] =
 {
  {Drift},
  {Drift2},
  {Drift3}
 };
//Then I Want A timer that Can Launch A Race Every 10Min And Some Thing like
pawn Код:
SendClientMessage(playerid, COLOR_YELLOW, "Race Start In 2Min Hurry To it);
//Then will it start
And Count From 5


Re: Put Randrom Races How? - LethaL - 03.02.2008

lucky im a patient person so i give u a step by step giude

1. Copy the whole of yrace.pwn into gm
2. Find
Код:
new RRotation = -1;   
new RRotationDelay = 300000;
Change this to
Код:
new RRotation = 0; // enabled :)   
new RRotationDelay = 600000; // time
DONE


Re: Put Randrom Races How? - splitx - 04.02.2008

1 Question do i need the #endif ?
And do i need to copy ALL?

pawn Код:
C:\DOCUME~1\Peter\SKRIVB~1\SA-MPS~1\GAMEMO~1\DRT.pwn(2601) : error 017: undefined symbol "dcmd_racehelp"
C:\DOCUME~1\Peter\SKRIVB~1\SA-MPS~1\GAMEMO~1\DRT.pwn(2602) : error 017: undefined symbol "dcmd_buildhelp"
C:\DOCUME~1\Peter\SKRIVB~1\SA-MPS~1\GAMEMO~1\DRT.pwn(2986) : error 021: symbol already defined: "strtok"
C:\DOCUME~1\Peter\SKRIVB~1\SA-MPS~1\GAMEMO~1\DRT.pwn(3024) : error 001: expected token: "#endif", but found "-end of file-"
Pawn compiler 3.2.3664          Copyright (c) 1997-2006, ITB CompuPhase


4 Errors.
OMG plz
Plxz0r