[GameMode] Racing Script
#1

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

Nice work, simple, but nice.
Reply
#3

How much races are there?
Reply
#4

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

Nice Script
Reply
#6

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

Awesome dude awesome REP++;
Reply
#8

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.
Reply
#9

How start a race ?
Reply
#10

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


Forum Jump:


Users browsing this thread: 1 Guest(s)