15.04.2011, 15:42
(
Последний раз редактировалось Peinneon; 26.06.2011 в 07:13.
)
Xaviour212 Production:
Ulric Vehicle System
Introduction:
Код:
This is Vehicle Ownership system by me. You can buy a vehicle, sell vehicle, park your vehicle, set your own vehicle plate (But plate cmd for 0.3c only) and etc. In v2 im only create the new version for 0.3c. But you can use this in 0.3b but cmd and plate system cannot working in 0.3b
Код:
- /vbuy - to buy a vehicle - /vsell - to sell your vehicle - /vpark - to park you vehicle - /vcall - to call you vehicle - /vlock - to lock your vehicle - /vunlock - to unlock your vehicle - /vhelp - help cmd - /vplate - to change your vehicle plate(Only for 0.3c and 0.2x, dont work in 0.3b) - /vbuyable - to set a car to buyable (RCON command) - /vunbuyable - to set a car to unbuyable (RCON command) - /mycar * /openbonnet * /closebonnet * /buyalarm * /alarmon, * /alarmoff, * /opendoor, * /closedoor, */lighton, * /lightoff
Код:
For downoad Link in Pastebin: * First paste my code in pawno and compile with name "cars" * Next open server.cfg and added "cars" in line filterscipts * Next create a folder in scriptfiles with named "cars" * And last create a new folder inside folder cars with named "users" Enjoy with this :D From 4shared: * First paste U_Car.pwn and U_car.amx to folder filterscripts * Next open server.cfg and added "U_Car" in line filterscipts * Next create a folder in paste folder Cars to folder scriptfiles * Now turn the samp-server.exe and now you can test my script Enjoy with this :D
Код:
CreateUlricVehicle(ModelID, SpawnX, SpawnY, SpawnZ, Z_Angle, Color1, Color2, Cost
Код:
CreateUlricVehicle(500,2487.1797,-1682.7505,13.0802,92.0700,4,1,80000);
Код:
v1.0 * Bug in Plate * Bug in Lock Vehicle * Bug in /vbuy v1.6 * Bug in Plate and Lock vehicle v2.0 * Bug in /vbuy (Thanks to sille002) * Bug in park vehicle (Thanks to Xdalzjr) v2.2 * Not detected
Код:
v1.6 * Fixed bug in /vbuy * Added a new cmd, /vfind, /vunfind and /vadmpark v2.0 * Fixed plate bug * Now you can set your own price for each vehicle * Fixed bug in lock vehicle * Added a new command, /setcost and /sellcarto * New GameText for someone who entered car if it he is the owner of the car v2.0.1 * Fixed /vbuy bug * Fixed /park and /vadmpark bug v2.2 - Added 3 Slot - New CMD /vcall (Now use a /vcall [Slot]) and with a timer 5 second - Removed CMD /sellcarto, /vfind and /vunfind - New CMD /mycar for look you car - New CMD /openbonnet and /closebonnet - New CMD /buyalarm to buy alarm in your car - New CMD /alarmon, /alarmoff, /opendoor, /closedoor, /lighton, /lightoff - New funtion CreateUlricVehicle
Код:
v1.6 * /vfind to find you car * /vunfind to destroy checkpoint from /vfind * /vadmpark (RCON CMD) to park a vehicle v2.0 * /setcost - to set a vehicle cost * /sellcarto - to sell your car to someone v2.2 * /vcall [Slot 1 - 3] * /mycar * /openbonnet * /closebonnet * /buyalarm * /alarmon, * /alarmoff, * /opendoor, * /closedoor, */lighton, * /lightoff