SA-MP Forums Archive
[GameMode] Racing Script - 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: Gamemode Scripts (https://sampforum.blast.hk/forumdisplay.php?fid=71)
+--- Thread: [GameMode] Racing Script (/showthread.php?tid=455729)



Racing Script - RedFusion - 02.08.2013

Racing Script
Features
- Race Cycle
- Time & Weather Cycle
- Race Editor w/ Flymode
- Userdata & Races saved with SQLite
- Unique Hud
- More..


Commands
Admins /Ban /Setlevel
Mods /Edit /List /Kick
All /Respawn /Spec /Pm


Pictures




Credits
Fuse (Me)
****** (sscanf, whirlpool)
Zeex (ZCMD)


Code
REMOVED


Plugin, Include (sscanf)
Plugin (Whirlpool)
Include (ZCMD)


Re: Racing Script - HyDrAtIc - 02.08.2013

Nice work, simple, but nice.


Re: Racing Script - [UG]Daniel - 03.08.2013

How much races are there?


Re: Racing Script - RedFusion - 03.08.2013

Quote:
Originally Posted by [UG]Daniel
Посмотреть сообщение
How much races are there?
As many as you like, create them ingame!


Re: Racing Script - xXxThunderxXx - 03.08.2013

Nice Script


Re: Racing Script - Konstantinos - 03.08.2013

There're some issues that can be improved. First of all, you don't need to free a result for INSERT INTO/UPDATE/CREATE TABLE statements. You decleared queries for 499 characters (you can reduce it, you don't need those much). And the last one is.. Dini. You could convert to SQLite about races too!


Re: Racing Script - Black Wolf - 03.08.2013

Awesome dude awesome REP++;


Re: Racing Script - RedFusion - 03.08.2013

Quote:
Originally Posted by _Zeus
Посмотреть сообщение
There're some issues that can be improved. First of all, you don't need to free a result for INSERT INTO/UPDATE/CREATE TABLE statements. You decleared queries for 499 characters (you can reduce it, you don't need those much). And the last one is.. Dini. You could convert to SQLite about races too!
You're right but i just choose to free all db queries even if it's not required. I usually make the strings longer than needed just incase, i'm aware it's not needed either

Races were made with the default file system at first but i converted it to dini later on, could be SQLite instead.


Re: Racing Script - x96664 - 06.08.2013

How start a race ?


Re: Racing Script - RedFusion - 07.08.2013

Races start automatically, you need to create atleast 1 race first obviously.