Need help with dini - 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: Need help with dini (
/showthread.php?tid=249641)
Need help with dini -
Maor1122 - 19.04.2011
However, this is not write on the file the playername ..
dini_Set(GetVehicleFile(carid),"Owner",GetName(pla yerid));
Re: Need help with dini -
austin070 - 19.04.2011
Is this what you are looking for?
pawn Код:
new file[128];
format(file, sizeof(file), YOUR_FILE_DIR, carid)
dini_Set(file, "Owner", GetName(playerid));
Re: Need help with dini -
Maor1122 - 19.04.2011
Its the same action, the GetVehicleFile is just a shortcut
Re: Need help with dini -
austin070 - 19.04.2011
What exactly is your problem then?
Re: Need help with dini -
Maor1122 - 19.04.2011
Its dosent write anything in the file ..