Vehicle password saving
#5

After the data have been stored to variables (local), it creates the vehicle and assign to "vid" a new value. After that, it sets the fuel for that new vehicle ID but you store the password to the "vid" which is a different value since the vehicle has not been created yet.

Store it to a temporary string and after creating the vehicle, copy that temporary string to VehicleData[vid][Pass].
Reply


Messages In This Thread
Vehicle password saving - by Hessu - 28.05.2015, 11:45
Re: Vehicle password saving - by Konstantinos - 28.05.2015, 12:16
Re: Vehicle password saving - by Hessu - 28.05.2015, 14:09
Re: Vehicle password saving - by Hessu - 31.05.2015, 04:46
Re: Vehicle password saving - by Konstantinos - 31.05.2015, 11:10
Re: Vehicle password saving - by Hessu - 31.05.2015, 12:42

Forum Jump:


Users browsing this thread: 1 Guest(s)