11.05.2011, 07:50
How can i make if player Modify his/her car on next spawn(or he dissconnect) he get his modified car back
how?
how?
On gamemode exit: { Store all vehicle's x, y, z, rotation; Store all vehicle's damage; Store all vehicle's components; Store all vehicle's color; [...] Write the info to a file. Write the info to a file. Write the info to a file. [...] } On gamemode init: { create the vehicle (...) create the vehicle (...) [...] loop("vehicleid"; from 0; to MAX_VEHICLES) { Read the file and get the saved X, Y and Z if((Get"vehicleid"'s x, y, z) != 0) //So if the vehicle is valid { Read the other info(...) Set the info(...) } } }