SA-MP Forums Archive
a little help - 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: a little help (/showthread.php?tid=157626)



a little help - AK47317 - 07.07.2010

can some one help with this error i dont understand a little about this

Код:
error 006: must be assigned to an array (x5)



Re: a little help - dice7 - 07.07.2010

Show the line where this error occurs and +/- 5 lines around it


Re: a little help - AK47317 - 07.07.2010

case 0: AdmRank = "Basic Moderator";
case 1: AdmRank = "Moderator";
case 2: AdmRank = "Master Moderator";
case 3: AdmRank = "Administrator";
case 4: AdmRank = "Master Administrator";


Re: a little help - KnooL - 07.07.2010

If you have this:
pawn Код:
new AdmRank;
Change it to this:
pawn Код:
new AdmRank[21];



Re: a little help - AK47317 - 07.07.2010

hey its work ty