[Dini] Another Problem =\ - 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: [Dini] Another Problem =\ (
/showthread.php?tid=79673)
[Dini] Another Problem =\ -
borisblat - 30.05.2009
is there a possible way to know to witch file some line is refer to?
like: "Car = 253 "
only one file from the folder "cars" can have this line, can i know witch one of them?
thanks
___
and why this is not creating a file ?
new string[256], s[256];
for (new i=100; i < 140; i++)
{
if (v[i] == 1)
dini_IntSet("/car/carids.txt", "car%d", i , 1);
else if (v[i] == 0) {
dini_IntSet("/car/carids.txt", "car%d", i , 0);
}
}
i putted it in game mode int
Re: [Dini] Another Problem =\ -
borisblat - 30.05.2009
please this is important
Re: [Dini] Another Problem =\ -
Weirdosport - 30.05.2009
Where did you learn about dini? Because you're using it all wrong, it's not the same as format..
dini_IntSet(filename[], key[], value)
dini_IntSet("/car/carids.txt", "car", id);
I'm not 100% what you're trying to save and where...
Read this:
http://forum.sa-mp.com/index.php?topic=71935.0
I told you this yesterday.
Re: [Dini] Another Problem =\ -
borisblat - 30.05.2009
well this is exactly the topic i was using,
what i tried to do is a file that have all the cars in the server that why i did "car%d"
and 1 = the car in not buyable
0 = the car is buyable