06.09.2012, 19:39
(
Последний раз редактировалось Hyperfire; 06.09.2012 в 21:10.
)
Hey guys. Over the last few days I created a ingame car spawner which uses dialogs to spawn the cars and sets their spawning colors, now I want to be able to save the cars once I "Park" it with a command or when I get out of the car.
Now I know there are many people that already posted ways to do this, but since I am new to pawno I would like if someone could explain what code to use and what the code does(Something like a tutorial).
I'm using y_ini to store data, I know how to use y_ini to save and load info, but I'm not sure how to create a file for every car I spawn since its not the same as Getting a player name.
I would really appreciate it if someone could give me some info on how to create separate files for the cars and maybe(optional) a way to delete the files when I delete the car(With a command?).
Thanx in advance.
PS. I'm also willing to share what I have done so far, but I bet there are way better "Ingame Car Spawners" out there.
Now I know there are many people that already posted ways to do this, but since I am new to pawno I would like if someone could explain what code to use and what the code does(Something like a tutorial).
I'm using y_ini to store data, I know how to use y_ini to save and load info, but I'm not sure how to create a file for every car I spawn since its not the same as Getting a player name.
I would really appreciate it if someone could give me some info on how to create separate files for the cars and maybe(optional) a way to delete the files when I delete the car(With a command?).
Thanx in advance.
PS. I'm also willing to share what I have done so far, but I bet there are way better "Ingame Car Spawners" out there.