SA-MP Forums Archive
Setting car owner. - 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Setting car owner. (/showthread.php?tid=194839)



Setting car owner. - blackwave - 30.11.2010

How to save on a file, an specific car + owner name? Like it:

Код:
Blackwave = car[0],car[1],car[2]//jester
And a specific string for each car, which would be created each time the owner were set? which max string was 2000(max vehicles on game) Not max amount of cars per player. Give me a example or how to do it. Thank.


Re: Setting car owner. - blackwave - 30.11.2010

bump


The message you have entered is too short. Please lengthen your message to at least 8 characters.


Re: Setting car owner. - sjoeppie - 30.11.2010

if your cars have unique ID's, you can let it write the id of the car in the player stats,
so the player stats will look like:

code:
Quote:

name = YouKnow
pass = YoudontKnow
CarID1 = 372
CarID2 = 783
etc




Re: Setting car owner. - blackwave - 30.11.2010

Quote:
Originally Posted by sjoeppie
Посмотреть сообщение
if your cars have unique ID's, you can let it write the id of the car in the player stats,
so the player stats will look like:

code:
lol, how dumb am I. Thank you ;P