11.09.2012, 14:14
Hi guys, please help me with this one. I want to use a loop or something to make a unique file for every car I want to save after I spawned it, like for example, I spawn a Bullet, drive it around a bit and find a place I want to "Park" it, I type /carsave or /park or something and the car saves in its own file called 0.ini or something which then contains the car's information like its model, position, angle and colors(I'm using y_ini). When I restart or exit the server and start the server back up the cars would automatically spawn where i Parked it.
Can someone help me to accomplish this? All I need is an example of what code to use and what that code is used for and why it is used, so I can sharpen my knowledge.
Thanx in advance.
Can someone help me to accomplish this? All I need is an example of what code to use and what that code is used for and why it is used, so I can sharpen my knowledge.
Thanx in advance.