Need help with my /park in my vehicle system -
milanosie - 03.02.2012
Hi there guys, How are u doing?
I am pretty far with my vehicle dealership system, Only have to think of something for /park
Basically, /park already saves the Coordinates into the vehicle file, But since I use a stock to load all vehicles at OnGamemodeEnit the respawn place wont change till the server is restarted?
What should I do to set the respawn location ?
Should I start messing with DestroyVehicle or maybe OnVehicleDeath>>SetVehiclePos at the file place, Idk.
Help me out please.
Progress so far:
[ame="http://www.youtube.com/watch?v=Sk_h19iI0Gw&context=C3e26082ADOEgsToPDskLA wk6upCZDlXpJ1kOopzCr"]Dynamic Vehicle System 0.5 By Milan_Huizen[/ame]
Re: Need help with my /park in my vehicle system -
milanosie - 03.02.2012
somebody?:O
Re: Need help with my /park in my vehicle system -
Chris White - 03.02.2012
I think you should create the vehicle for the player when he connects.
Re: Need help with my /park in my vehicle system -
milanosie - 03.02.2012
Quote:
Originally Posted by Chris White
I think you should create the vehicle for the player when he connects.
|
would be super unroleplay
Re : Need help with my /park in my vehicle system -
ricardo178 - 03.02.2012
On /park, change the cords in file, than get vehicle id, destroy, and spawn it again reading from files.
That's how it usualy work.
Re: Re : Need help with my /park in my vehicle system -
milanosie - 03.02.2012
Quote:
Originally Posted by ricardo178
On /park, change the cords in file, than get vehicle id, destroy, and spawn it again reading from files.
That's how it usualy work.
|
Will think bout, since Player Files are Car ID bound.
Re : Re: Re : Need help with my /park in my vehicle system -
ricardo178 - 03.02.2012
Quote:
Originally Posted by milanosie
Will think bout, since Player Files are Car ID bound.
|
If it bug, you will have to make it save the In-Game car ID in the file, so by the car ID, you get the file to save it in.
Hope you understood what ia m telling.