20.05.2017, 08:38
Alright so i am making a system that allows you to put things in a vehicle's trunk, I want this option available to all of the vehicles not only the owned cars so i want a way to be able to save it to each vehicle.
So i made the variables and stuff, And i cant use like the id of the car that is saved to a players data, because it is different than the vehicle id ingame and it doesnt allow me to save to all of the vehicles, by saying save i mean saving and loading for saved vehicles but for the non owned vehicles it just saves in game not in data, so if a restart occurs they all are reset.
So how can i be able to save all of the cars.should i use the vehicle id like
or is there any better way because using the vehicle id might make problems because it changes in some cases.
So i made the variables and stuff, And i cant use like the id of the car that is saved to a players data, because it is different than the vehicle id ingame and it doesnt allow me to save to all of the vehicles, by saying save i mean saving and loading for saved vehicles but for the non owned vehicles it just saves in game not in data, so if a restart occurs they all are reset.
So how can i be able to save all of the cars.should i use the vehicle id like
pawn Код:
Vehiclestuff[vehicle id ingame][....]