05.03.2011, 23:59
(
Последний раз редактировалось gamer931215; 29.03.2011 в 17:19.
Причина: V1.4
)
pVehicle 1.4
Gamer's Private Vehicle System
pVehicle is an unique private vehicle system that allows users to create multiple private vehicles, it can be used with Y_Ini OR MySQL
About:Gamer's Private Vehicle System
pVehicle is an unique private vehicle system that allows users to create multiple private vehicles, it can be used with Y_Ini OR MySQL
In 2010 i've made an private vehicle system called "Gamer's Private Vehicle System",
it was a pretty good script, but unfortunately it supported only up to 1 car per player.
I've been inactive at the SA-MP forums now for arround 6 months, and i decided to comeback
with a private vehicle system! And the result is amazing!.
Details:
Limited/public modes:
Allow every player to create/manage there own private vehicles*
Allow admins/vips only who got permision from RCON Admin to create/manage there own private vehicles*
*Remember, you can always lend/return your vehicles to any other player!
Creative methods:
If you create a vehicle, you will also have two different modes:
-Spawn- - Just spawn the vehicles near the player
-Transport- - The vehicle will be ejected out of a plane and will land with a parachute near the player
The way the vehicles are spawning and transported can be controlled separately
Customisation/Other features:
-park your vehicle anywhere you like, it will respawn there if you saved its position
-Change the colors per vehicle ingame
-Customize the vehicle's license plate
-Lend your vehicle to other players
-Mark one of your vehicles for transport and you can transport it by air anywhere you like!
-Basic stunt requirements (Nitro,Flip,Repair)
-NEW! Vehicle tune system (vehicle skins, bumperkits, will also be saved!)
-NEW! Vehicle engine system
Commands:
Код:
/pvehicle Manage your private vehicles (outside vehicle: all vehicles, inside vehicle:per vehicle!) /addpvehicle [playerid] [RCON COMMAND] Allow that player to manage personal vehicles (only if PVEHICLE_FOR_EVERYONE is defined false) /delpvehicle [playerid] [RCON COMMAND] Disable managing personal vehicles for player and removes all his/her vehicles
Код:
1.1: *Fileprocessing has been re-done, everything is working with Y_INI now (MUCH FASTER!) *Clientmessages has been cleaned up a bit *Filters added (For armed vehicles, AND there weapons separately, you can punish the player now if they are shooting in there vehicle!) *A few small bugs removed, and some futher optimalisations in the code which is not really worth announcing them... 1.2: *Vehicles will no longer re-spawn in the sky after air transport, but will respawn at there last saved positions! *KILL_PLAYER_ON_FIRE wasnt working (Anti deathmatch), this has been fixed now. 1.3: *Added mySQL support! *Added a vehicle engine system *Added a vehicle tune system *Cleared up the dialog colors a bit *Fixed some small bugs 1.3b: *Commands are now processed with ZCMD *Tiny bug fixed out of addpvehicle (if PVEHICLE_FOR_EVERYONE was set on true, it wouldnt return anything) 1.4: *Exhaust and spoilers added to bumperkit *MySQL system used now yourSQL library (simplified mysql and connection handlers) *Fixed some grammar failures
Zeex for ZMD (Fast Command Processing)
****** for sscanf2 and YSI Library (Y_INI)
G-sTyLeZzZ for his MYSQL Plugin
Garsino[12] for his house system, that gave me actually the inspiration to make this!
Hiddos for helping me testing this and finding a few bugs
****** for helping me started with Y_INI
Video:
*Please note that the version in this video is not up-to-date, the current version has a lot better dialogs, a lot more features and no funky colors anymore!
[ame]http://www.youtube.com/watch?v=OoIB12_iijw&hq=1[/ame]
Download:
Check atachement for all files, Source:http://pastebin.com/FrWRujs4