24.04.2012, 22:47
You'll have to create an enum for accInfo.
Assign it a value.
Then the code you inserted would work perfectly.
PHP код:
enum playerenum
{
Colour
}
new accInfo[MAX_PLAYERS][playerenum];
PHP код:
accInfo[playerid][Colour] = FFFFFF
PHP код:
new colStr[12];
format( colStr, sizeof( colStr ), "0x%sFF", accInfo [ playerid ] [ Colour ] );
SetPlayerColor( playerid, colStr );

