11.01.2009, 17:16
Commands
/vehhelp
Basically tells you the other three commands, and says weather or not you currently own a vehicle.
/gotoveh (just remove it if your using it for role-play)
Teleports you to your vehicle.
/park
Save your vehicles position, this is where it will spawn for now on.
/sellveh [playerid] [price]
Sell your vehicle to someone.
/accept
Accept a vehicle someone is selling you.
/decline
Decline a vehicle someone is selling you.
How to Use
Setting it up
Open up the script. In it you will find the edit section, fill out the names of the default owners, and the car IDs in sync. Then define the number of vehicles you will be using. Keep all of the three settings with the same amount. 3 names = 3 IDs = MAX_VEHS 3.
After that, just place "veh.amx" in the filterscripts folder, and add "veh" to your filterscripts line in the server.cfg.
You may want to position the vehicles before releasing it to a public server. After running the script, you will find a "veh" file in your scriptfiles. Open it with notepad, there you will see each vehicle in this format:
Number=Owner X Y Z A
You can modify the X, Y, Z and Angle cords, and even the Owner if you must. Buy don't touch Number!
Download
PWN via Pastebin (.com)
PWN via Zezombia (.com)
Comments are appreciated. Report any bugs !
/vehhelp
Basically tells you the other three commands, and says weather or not you currently own a vehicle.
/gotoveh (just remove it if your using it for role-play)
Teleports you to your vehicle.
/park
Save your vehicles position, this is where it will spawn for now on.
/sellveh [playerid] [price]
Sell your vehicle to someone.
/accept
Accept a vehicle someone is selling you.
/decline
Decline a vehicle someone is selling you.
How to Use
Setting it up
Open up the script. In it you will find the edit section, fill out the names of the default owners, and the car IDs in sync. Then define the number of vehicles you will be using. Keep all of the three settings with the same amount. 3 names = 3 IDs = MAX_VEHS 3.
After that, just place "veh.amx" in the filterscripts folder, and add "veh" to your filterscripts line in the server.cfg.
You may want to position the vehicles before releasing it to a public server. After running the script, you will find a "veh" file in your scriptfiles. Open it with notepad, there you will see each vehicle in this format:
Number=Owner X Y Z A
You can modify the X, Y, Z and Angle cords, and even the Owner if you must. Buy don't touch Number!
Download
PWN via Pastebin (.com)
PWN via Zezombia (.com)
Comments are appreciated. Report any bugs !