Error 006: must be assinged to an array
#1

Код:
C:\Users\Tont\Desktop\samp03asvr_R7_win32\gamemodes\Play3r1337RPG.pwn(515) : error 006: must be assigned to an array
Line 515 :
pawn Код:
PlayerInfo[giveplayerid][pAdmin] = level;
level, giveplayerid
pawn Код:
new level;
    new giveplayerid;
    giveplayerid = strval(tmp);
    level = strtok(cmdtext, idx);
Reply
#2

Quote:
Originally Posted by DaHP14Y3R
Код:
C:\Users\Tont\Desktop\samp03asvr_R7_win32\gamemodes\Play3r1337RPG.pwn(515) : error 006: must be assigned to an array
Line 515 :
pawn Код:
PlayerInfo[giveplayerid][pAdmin] = level;
level, giveplayerid
pawn Код:
new level;
    new giveplayerid;
    giveplayerid = strval(tmp);
    level = strtok(cmdtext, idx);
Use zcmd and sscanf, ditch all the strtok crap.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)