dini_Get problem =/ Help plx - 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_Get problem =/ Help plx (
/showthread.php?tid=91774)
dini_Get problem =/ Help plx -
introzen - 16.08.2009
Hey everyone...
When I try to use dini_Get, the only thing I get is a error...
pawn Код:
new leader = dini_Get(File,"Leader");
Код:
C:\Documents and Settings\IntrozeN\Desktop\SAMP\Copy of samp server\gamemodes\CLRP.pwn(1394) : error 033: array must be indexed (variable "-unknown-")
Thanks
Re: dini_Get problem =/ Help plx - Double-O-Seven - 16.08.2009
pawn Код:
new leader[MAX_PLAYER_NAME];
format(leader,sizeof(leader),dini_Get(File,"Leader"));
Re: dini_Get problem =/ Help plx -
Jefff - 16.08.2009
dini_Get return MAX_STRING 255 so it should be
Код:
new leader[MAX_STRING];
leader = dini_Get(File,"Leader");
Re: dini_Get problem =/ Help plx -
introzen - 16.08.2009
Quote:
Originally Posted by Jefff
dini_Get return MAX_STRING 255 so it should be
Код:
new leader[MAX_STRING];
leader = dini_Get(File,"Leader");
|
Thanks