06.11.2013, 16:48
i want to make gang colors,as if someone is in a family slot 1 for example,when he logs in his color will be the same as slot's 1 color,i have made like this:
if(PlayerInfo[playerid][pFMember] = 1
{
SetPlayerColor(playerid, COLOR_ORANGE);
}
And it shows me an error:
C:\Users\John\Desktop\NGRP+NERP 0.3x\gamemodes\NERP.pwn(11486) : error 010: invalid function or declaration
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
1 Error.
how to fix?
if(PlayerInfo[playerid][pFMember] = 1
{
SetPlayerColor(playerid, COLOR_ORANGE);
}
And it shows me an error:
C:\Users\John\Desktop\NGRP+NERP 0.3x\gamemodes\NERP.pwn(11486) : error 010: invalid function or declaration
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
1 Error.
how to fix?