[FilterScript] TRL Driving Test System| Saving | Roleplay Servers|
#1

TRL Driving Test System for Roleplay Server
Saving your stats
My Third Script




Hello guys, It's TRL Here. Today I've made a driving test system which I think would be good for roleplay servers.
Your Stats will also be saved so don't worry. This script uses zcmd and yini If you find any bugs then will inform me, I would love to hear your feedback.


Features:
Saving Your Stats
23-24 Checkpoints(on right lane ofcourse)
Anti-Speeding System(Driving test would fail if he do speeding over the max limit)
Script would send a client message to Player If he is speeding (Something like: Slow down! Or You will Fail your driving test!)
Driving Test would fail if vehicle damage is more than 100 (You can change it )
Player won't be able to enter a car if he do not have Driving License

Credit$:
TRL- Me
Zcmd
******

Command:
/drivingtest

You can Change things by changing the values of defines below

Код:
#define COLOR_RED 0xC00000FF //Red Color
#define COLOR_GREEN 0x009647FF //Green Color
#define COLOR_BLUE 0x0093BBFF //Blue Color
#define VEHICLE_ID 426 //Current Vehicle is Premier
#define VEH_DAMAGE 900 //Here 900 means that If Vehicle health is less than 900 and test would fail
#define MINI_SPEED 40 //maximum speed at which player should drive car
#define MAX_SPEEDING 4 //number of warnings
Screenshot:





You can request for more Screenshots


How to Install:

Код:
1.Just copy paste .pwn file in your Filterscripts folder
2.Make a folder in scriptfiles "License"
3.Put the name of FS in your server.cfg
Make sure you have Zcmd and YSI
Next Version:
It would includes textdraws by which you can see your driving license
Textdraws for showing your driving license to others

Pastebin:
Click Me!
Reply
#2

Good Job ! -_^ +REP for you
Reply
#3

Quote:
Originally Posted by amirab
Посмотреть сообщение
Good Job ! -_^ +REP for you
Oh thanks...
Reply
#4

Cool one. +rep
Reply
#5

Thanks. However I didnt recieved your rep yet..
Reply
#6

Nice job.
Reply
#7

Thanks karan
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)