error must be assigned to an array
#1

pawn Код:
GangWars.pwn(241) : error 006: must be assigned to an array
pawn Код:
new tmp;
    tmp = IntToHex(ZoneInfo[zoneid][ZoneColor]);
IntToHex function
pawn Код:
stock IntToHex(int)
{
    new str[15];
    format(str, sizeof(str), "%x", int);
    return str;
}
EDIT: i am sorry, I just found that i can use HEX's int value for a color
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)