How to fix this small error? - 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: How to fix this small error? (
/showthread.php?tid=193262)
How to fix this small error? -
[iK]Deloera - 25.11.2010
Error
Код:
C:\Documents and Settings\owner\Desktop\AAD70.pwn(1520) : error 006: must be assigned to an array
Line
Код:
if(dini_Isset(file,"KillMsg")){KillMsg[playerid] = dini_Get(file,"KillMsg");}else {KillMsg[playerid] = "0";}
Re: How to fix this small error? -
Zh3r0 - 25.11.2010
KillMsg must be a string.
so do this
new KillMsg[ 256 ];
Re: How to fix this small error? -
[iK]Deloera - 25.11.2010
Where exactly do i put this?