[FilterScript] Vehicle Ownership System (MySQL R39-2)
#21

good work. you know i was going to report this but when i clicked your signature " My Releases " then i saw your previous nick " bondowocopz " lol.
Reply
#22

Nice broo .. I will use it
Reply
#23

Quote:
Originally Posted by rainbowPUKE
View Post
Saving doesn't appear to work very well, vehicle positions do not update on disconnect - logging back in they all respawn back the dealership even if park was used.

It'd make more sense to save them where they last were, as they all pile up on top of each other at the dealership? Plate was not updating when new plate was entered..

Not really sure what's going on
You need to /park your vehicles first, and vehicle position will be updated.
And for plate, you need to respawn your vehicle first.


Quote:
Originally Posted by SpikY_
View Post
good work. you know i was going to report this but when i clicked your signature " My Releases " then i saw your previous nick " bondowocopz " lol.
Thanks mate, i asked dugi to change my name


Quote:
Originally Posted by Cyber123
View Post
Nice broo .. I will use it
Thanks, bro.
Reply
#24

Quote:
Originally Posted by X337
View Post
You need to /park your vehicles first, and vehicle position will be updated.
And for plate, you need to respawn your vehicle first.
I did use /park, and the positions are not updated within the database, and on relog are back at the dealership.
Reply
#25

As rainbow said, it's not updating within the database, when you restart or relog the vehicle goes back to the grotti position when buying the car, so imagine you have 100 vehicles, after restatr you see a mass vehicles on grotti pilled up.

any fix pls?
Reply
#26

Why should include separate?
But it's good fs! (y)
Reply
#27

Looks nice, i got it to working however, when i try to purchase a vehicle it asks me to login after i selected a vehicle lol.
Reply
#28

Quote:
Originally Posted by yvoms
View Post
Looks nice, i got it to working however, when i try to purchase a vehicle it asks me to login after i selected a vehicle lol.
This is because your dialog id is the same with the dialog you buy the cars, try changing the define and it will work
Reply
#29

good system
i use for my freeroam xd
Reply
#30

When going in to the checkpoint it all works, but whenever i try to purchase whatever vehicle it just closes the dialog, no message nothing, but i checked the Mysql_log, and it said ;
Code:
[08:04:30] [ERROR] CMySQLQuery::Execute - (error #2006) MySQL server has gone away
[08:04:30] [WARNING] cache_get_field_content_int - no active cache
Any idea? i've been checking trough for a bit, all i have done was update the #define dialogs but this shouldn't have anything to do with purchasing the vehicle.
Reply
#31

i cant get it, tried to put it in wang but i cant see any marker to buy car
Reply
#32

and X337 your a staff in CZ-CNR right??

CAN U UNBAN ME PLZ LOL.
Reply
#33

Where to put its location?
Reply
#34

can i buy more than 1 vehicle? or only 1 per player?
Reply
#35

cannot read from file: "vsystem/formatnumber"
Reply
#36

Quote:
Originally Posted by Zeus666
View Post
cannot read from file: "vsystem/formatnumber"
You need formatnumber.inc

(I see you registered from 2015,how can't you fix a simple problem though? What are you doing for 3 years in here?
No offense,just curious.)
Reply
#37

Quote:
Originally Posted by NewFreeroamStunt
View Post
can i buy more than 1 vehicle? or only 1 per player?
Sure, you can buy more than 1 vehicle per player, i has tested this filterscript and its awesome!!
Reply
#38

After the person's car explodes, it comes in an unmodified way, how can we solve it?
Reply
#39

This system, can be used in a server rp?

Quote:
Originally Posted by X337
View Post


Hy all, today i make Vehicle Ownership System that used MySQL as saving system.
This is basic vehicle system, so you can easily edit and add more features what you want.


Features
- Saved Vehicle System
- Sell Vehicle To Server
- GPS System to locate your car (thanks to Fj0rtizFredde)
- Sell Vehicle To Players
- Vehicle Control Panel
- For more features you can view pictures in attachments


Instruction
- First, you need to define your Database info
Code:
#define HOST		"Your Host"
#define USER		"root"
#define PASSWORD	"********"
#define DBNAME		"Database Name"
- To change dealership pos, you need to change dealX, dealY, dealZ variables
Code:
Float:dealX = -1663.640014, Float:dealY = 1208.253662, Float:dealZ = 7.254645
- If you have any problems when compile it, you can ask question in this thread
- Another instruction in script


Downloads


Pastebin (Bad Indentation)
SQL File


* The pictures in attachment below, hope you like it!
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)