Help - 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 (
/showthread.php?tid=631659)
Help -
Desha1 - 02.04.2017
hello guys
i want learn about text in scriptfile
open and close and putting in it somthing like vehicle id etc.
Quote:
format(fname, sizeof(fname), "/vehicles/%d.ini", saveindex);
|
becuse i will made saving and load vehicles #Ownership
but need helping!
Re: Help - Astralis - 02.04.2017
pawn Код:
stock PropPath(propid)
{
new propfile[64];
format(propfile, sizeof(propfile), "Properties/PropID%d.ini", propid);
return propfile;
}
Re: Help -
astanalol - 02.04.2017
omg this
Re: Help -
Desha1 - 02.04.2017
Quote:
Originally Posted by Astralis
pawn Код:
stock PropPath(propid) { new propfile[64]; format(propfile, sizeof(propfile), "Properties/PropID%d.ini", propid); return propfile; }
|
need example how to make it with his name the text to load and saving in folder how?