SA-MP Forums Archive
Y_INI Loading string 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)
+--- Thread: Y_INI Loading string problem (/showthread.php?tid=331718)



Y_INI Loading string problem - SpankMe2 - 05.04.2012

Hey,
so i'm loading my strings under my header as shown below and I get some errors I cant solve I'd greatly accept your help.

pawn Код:
INI_String("House Name", HouseInfo[i][hName], 200);
And I get these errors..

Код:
(331) : error 001: expected token: ")", but found "["
(331) : warning 215: expression has no effect
(331) : error 001: expected token: ";", but found "]"
(331) : error 029: invalid expression, assumed zero
(331) : fatal error 107: too many error messages on one line



Re: Y_INI Loading string problem - rati555 - 05.04.2012

pawn Код:
hName[200],
you have to make like this, in HouseInfo "enum"


Re: Y_INI Loading string problem - SpankMe2 - 05.04.2012

I have already, I this is my problem with hName[200] in side the enum...