dini_Get problem =/ Help plx
#1

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
Reply
#2

pawn Код:
new leader[MAX_PLAYER_NAME];
format(leader,sizeof(leader),dini_Get(File,"Leader"));
Reply
#3

dini_Get return MAX_STRING 255 so it should be
Код:
new leader[MAX_STRING];
leader = dini_Get(File,"Leader");
Reply
#4

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
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)