SA-MP Forums Archive
[FilterScript] PRaceSystem - 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: Filterscripts (https://sampforum.blast.hk/forumdisplay.php?fid=17)
+--- Thread: [FilterScript] PRaceSystem (/showthread.php?tid=239271)



Phanto's Race System (PRaceSystem) - Phanto90 - 13.03.2011


[FS]PRaceSystem by Phanto
Version: 1.0


(Sorry for my english, you know I'm Italian )
This is my first release on forum.sa-mp, but I've already released tons of stuff on other pawn forums.

Description:
Tired of your server? Don't worry! Here it is a nice filterscript that allows you to race with your friends in various tracks. You can also build your own race in few minutes!
Try it out!

Features:
•Coloured messages (only Sa:mp 0.3c)
•2 types of race: Circuit & Sprint
•Little race builder
•The system saves best times on tracks (time & player's name)
•Different Players can also race at the same time on different tracks.
•There is not limit for players joining a race (500 players in the same race D: sounds such a mess up xD)
•Once the race start, player cannot join anymore until the race finish
•Nice and functional system
•Use of nice textdraw (Example: Laps/Time/starting Traffic-lights)

Commands:
•/race
•/quitrace
•/ready
•/check (Rcon Admin)

Fixed bug & upgrades:
//V 1.0
•I will try to extend the race builder functions (I added only /check to take easily coords.)

Known bug:
•No bugs found.

Conflicts:
•If you have another race system, I suggest to remove it before mounting this one.
•Be sure not to have used OnPlayerEnter/ExitRaceCheckpoint functions in order to make works the system without generating conflicts.

How do I build my race?:
Step 1: Use the command /check (need to be rcon) to create a checkpoint list named Checkpoint(yourid). If you make a mistake taking coords, just go to Race's cartel and delete the last coords you take in the file.
Step 2: Rename the file Checkpoint(yourid) in Check# (# is the maximum race you have in your server. Remember it starts from 0)
Step 3: Create a file named Race# (# will be the same you used for Check#)
Step 4: Open the file and wrote the race information as follows:
Код:
RaceName, Laps, Cost, 1000, Nobody
Edit only RaceName, Laps and Cost as follow:
Код:
Market Street Race, 50, 3, 1000, Nobody
Hoping you will enjoy my work! Best Regards Phanto
Download:
Avaible version 1.3 Click HERE!



Re: PRaceSystem - coconyr - 13.03.2011

download it now, it sounds good ...
First to post!


Re: PRaceSystem - wheelman_WM - 13.03.2011

nice i will try it out


Re: PRaceSystem - BASITJALIL - 13.03.2011

I Will test it 2marrow


Re: PRaceSystem - Nexotronix - 13.03.2011

i'm using this, so this is very good and useful script, i just added some like teleport player to place of race with car, and, translating from italian to english functions ! but whatever, thanks for this! keep it up!


Re: PRaceSystem - Phanto90 - 13.03.2011

Sorry for that, originally i posted it for italian users on other forum and didn't changed functions and variable names (boring )


Re: PRaceSystem - Nexotronix - 13.03.2011

thanks god, my grandmother live in italy now =)


Re: PRaceSystem - Phanto90 - 13.03.2011

Really? Nice xD So, somebody else has to comment?
Maybe I should add some screenshots :/


Re: PRaceSystem - Nexotronix - 13.03.2011

Oh, dude< help me< how called the boxes for time and laps?, ijust created my own in left side, just tell me the name of boxes vars for time and laps count


Re: PRaceSystem - Phanto90 - 13.03.2011

Textdraw Laps Box -> TextGiriSfondo
Textdraw Time Box -> TimerSfondo
Textdraw Laps -> TextGiriContatore[MAX_PLAYERS]
Textdraw Time -> TimerText[MAX_PLYERS]

Can I ask you a favour? Could you take some screenshot at the race start, host them and link here? (My shitty netbook sucks xD)