SA-MP Forums Archive
Whats Wrong With This? - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Whats Wrong With This? (/showthread.php?tid=167303)



Whats Wrong With This? - lSCARl - 11.08.2010

Код:
public OnPlayerSpawn(playerid)
{

    SetPlayerToTeamColour(playerid);
    SetPlayerArmour(playerid, 100);
    SetPlayerWorldBounds(playerid, 2601.3013, 2103.9951, 214.5173, -170.6336);
    SetWorldTime(00);
    if(gTeam[playerid] == TEAM_HIDER) {
        format(string, sizeof(string), "Go Hide!");
        GameTextForPlayer(playerid, string, 3000, 4);
    }
}


return 1;

}


return 1;
}
Can Someone Help Fix it


Re: Whats Wrong With This? - Kayla.S - 11.08.2010

SetPlayerToTeamColor it's colOr. No u.