[FilterScript] Ulric Vehicle System (for 0.3b and 0.3c)
#1

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
Commands:
Код:
- /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
How to Install ?
Код:
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
How To Create Vehicle:
Код:
CreateUlricVehicle(ModelID, SpawnX, SpawnY, SpawnZ, Z_Angle, Color1, Color2, Cost
Example:
Код:
CreateUlricVehicle(500,2487.1797,-1682.7505,13.0802,92.0700,4,1,80000);
Bugs:
Код:
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
Changelog:
Код:
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
New Command:
Код:
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
Download Link:
Код:
v2.2
* Pastebin
v2.0.1(Fixed bug in v2.)
* Pastebin
v2.0
* Pastebin
* 4Shared
v1.6
* Pastebin(For 0.3b)
* Pastebin(For 0.3c)
v1.0
* Pastebin- (0.3c)
* Pastebin- (0.3b)
Reply
#2

I will test it but it looks cool.
Reply
#3

This Filterscript look really awesome, i gonna test it if i like it then i will use it
Reply
#4

Nice FilterScript,

I very enjoy with this

Reply
#5

Quote:
Originally Posted by Kinto
Посмотреть сообщение
I will test it but it looks cool.
Thx

Quote:
Originally Posted by Naruto_Emilio
Посмотреть сообщение
This Filterscript look really awesome, i gonna test it if i like it then i will use it
Thx

Quote:
Originally Posted by Drza
Посмотреть сообщение
Nice FilterScript,

I very enjoy with this

Thx
Reply
#6

Tested and works for me, I tested it on one of my godfather edits lol.

Nice work Peinneon!
Reply
#7

where the cars?
Reply
#8

Quote:
Originally Posted by NekErM@N
Посмотреть сообщение
where the cars?
You can buy all car in your server
Reply
#9

would be nice to tell people the actual bugs... so someone can fix them and let you know em.
Reply
#10

Quote:
Originally Posted by Hal
Посмотреть сообщение
would be nice to tell people the actual bugs... so someone can fix them and let you know em.
For me this bug doesn't really matter because this is only a small bug. The bug is plate of car is not saved and cannot loaded every you restart your server. This bug only in 0.3c version
Reply
#11

Dyanmic its awesome, but i hate label with 'ulric' coz its a bit funny
Reply
#12

Quote:
Originally Posted by Malcor
View Post
Dyanmic its awesome, but i hate label with 'ulric' coz its a bit funny
Funny ? Why ?
Reply
#13

New version 1.6


Changelog:

Code:
- Fixed bug in /vbuy
- Added a new cmd, /vfind, /vunfind and /vadmpark
- /vfind to find you car
- /vunfind to destroy checkpoint from /vfind
- /vadmpark (RCON CMD) to park a vehicle
Download:

Here(For 0.3b)(Pastebin)
Here(For 0.3c)(Pastebin)
Reply
#14

Quote:
Originally Posted by Peinneon
View Post
New version 1.6


Changelog:

Code:
- Fixed bug in /vbuy
- Added a new cmd, /vfind, /vunfind and /vadmpark
- /vfind to find you car
- /vunfind to destroy checkpoint from /vfind
- /vadmpark (RCON CMD) to park a vehicle
Download:

Here(For 0.3b)(Pastebin)
Here(For 0.3c)(Pastebin)
Nice For New Version
Reply
#15

Great, Nice work!
Reply
#16

I have a problem
after giving / vbuy I say that I bought but the other commands when I say I am not car
Reply
#17

Quote:
Originally Posted by YooBogdan10
View Post
I have a problem
after giving / vbuy I say that I bought but the other commands when I say I am not car
Oh ya sorry, before use this script, you must create a folder in scriptfiles with name Cars and please use v1.6 version because I have bug in v1. Sorry
Reply
#18

Looks nice. But you'd make with sscanf, zcmd and y_ini, the fastest systems are these
Reply
#19

I have a problem
If you give the server or restart or shut out from the server and get back does not save my car, and you have to buy again
Reply
#20

Quote:
Originally Posted by blackwave
View Post
Looks nice. But you'd make with sscanf, zcmd and y_ini, the fastest systems are these
Ok I will to use a sscanf in a new version . But i dont use zcmd and y_ini because Im used dcmd and dini in my GM script.

Quote:
Originally Posted by YooBogdan10
View Post
I have a problem
If you give the server or restart or shut out from the server and get back does not save my car, and you have to buy again
Hmm... but sorry I do not find this bug when I test on my computer. Perhaps you are still using v1.0 and you have not created the folder "cars"in scriptfiles. You must use v1.6 and dont forget to create a folder "cars" in scriptfiles
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)