[SOLVED] HELP error 006 - 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: [SOLVED] HELP error 006 (
/showthread.php?tid=144680)
[SOLVED] HELP error 006 -
MasterB - 28.04.2010
Hey im kinda new to pawno mostly i get it solved by searching the forum but this time i couldnt find anything
here is my problem:
Код:
C:\SERVER-SAMP\gamemodes\dutchtopia0.4.pwn(133) : error 006: must be assigned to an array
this is on that line:
Код:
if (dini_Exists(pname))
{
bankmoney[playerid]=dini_Get(pname, "bankmoney");
}
help please
Re: [URGENT] HELP error 006 -
Jefff - 28.04.2010
=strval(dini_Get...
Re: [URGENT] HELP error 006 -
MasterB - 28.04.2010
many thanks it solved!
Re: [URGENT] HELP error 006 -
Correlli - 28.04.2010
Or simply use the dINI function which is created for integers:
pawn Код:
bankmoney[playerid] = dini_Int(pname, "bankmoney");