Need help with my /park in my vehicle system
#1

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]
Reply
#2

somebody?:O
Reply
#3

I think you should create the vehicle for the player when he connects.
Reply
#4

Quote:
Originally Posted by Chris White
Посмотреть сообщение
I think you should create the vehicle for the player when he connects.
would be super unroleplay
Reply
#5

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.
Reply
#6

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.
Reply
#7

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.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)