dini question - 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 question (
/showthread.php?tid=157588)
dini question -
iJumbo - 07.07.2010
hi i make this and i have a question ... this can work
example = dini_Get("confing.ini", "killed");
and under some
if killed = 1 bla bla bal else if killed 0 bla bla bla
this can work?
Re: dini question -
iJumbo - 07.07.2010
?? any one plz ??
Re: dini question -
yoan103 - 07.07.2010
Don't bump please,

, well the dini may work, i use it only for my admin commands
Re: dini question -
Miikkel - 07.07.2010
Try this:
pawn Код:
new File[128], Killed[256];
format(File, sizeof(File), "Config.ini");
Killed = dini_Get(File, "Killed");
if(strval(Killed) == 1)
{
}
else
{
}