Pawno Error... I can't seem to find the issue
#5

Код:
public OnPlayerUpdate(playerid)
{
	SetPlayerScore(playerid, PlayerInfo[playerid],[pScore]);
	}
	if(gTeam[playerid] == LSPD)
	{
	    SetPlayerColor(playerid, COLOR_LIGHTBLUE);
	}
	    else if(gTeam[playerid] == Criminals)
	{
	    SetPlayerColor(playerid, COLOR_GREEN);
	}
	 else
	 {
	    SetPlayerColor(playerid, COLOR_WHITE);
	    }
	return 1;
}
Whole code beginning to end from OnPlayerUpdate, I really see nothing wrong... Unless I'm missing something?
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)