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

Quote:
Originally Posted by Dayrion
Посмотреть сообщение
PHP код:
public OnPlayerUpdate(playerid)
{
    
SetPlayerScore(playeridPlayerInfo[playerid][pScore]);
    switch(
gTeam[playerid])
    {
        case 
LSPDSetPlayerColor(playeridCOLOR_LIGHTBLUE);
        case 
CriminalsSetPlayerColor(playeridCOLOR_GREEN);
        default: 
SetPlayerColor(playeridCOLOR_WHITE);
    }
    return 
1;

Gives me the same errors.

EDIT: It has to do with this line only ...
Код:
SetPlayerScore(playerid, PlayerInfo[playerid][pScore]);
But nothing is wrong with it.

EDIT #2: Fixed the problem, a code was misplaced.
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)