SA-MP Forums Archive
[HELP] ownership slots - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: [HELP] ownership slots (/showthread.php?tid=477321)



[HELP] ownership slots - Luca12 - 23.11.2013

Hello I was create ownership with cars boats planes bicycles and motocycles so my question is how can I make for example for cars I buy one car and in the file cars it create a file car_0 and when another player buy a car then again create file car_1 how can I do that if you know what I mean? Thanks


edit: I use yini just I forget write that in the post


Re: [HELP] ownership slots - RayDcosta - 23.11.2013

i suggest that instead of doing the file-based saving which is rather annoying and more time consuming, use YINI to save the details of vehicles that are purchased.
not sure if i understood you right, but if im thinking in the right manner, thats what u gotta do.