[FilterScript] PRaceSystem
#1


[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
Reply
#2

download it now, it sounds good ...
First to post!
Reply
#3

nice i will try it out
Reply
#4

I Will test it 2marrow
Reply
#5

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!
Reply
#6

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

thanks god, my grandmother live in italy now =)
Reply
#8

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

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
Reply
#10

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)
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)