Error
#2

An extra closed bracket at the end.
pawn Код:
public OnPlayerRequestClass(playerid, classid)
{
    if(classid == 0)
    {
        gTeam[playerid] = TEAM_BLOODS;
        GameTextForPlayer(playerid,"~w~Bloods",3000,5); // This will show up an Text , when you select your class
        SetPlayerPos(playerid,1975.2399,-1220.0157,25.0779); // position of the player in the class selection
        SetPlayerCameraPos(playerid,1969.5686,-1224.0016,24.9909); // Cameraposition
        SetPlayerCameraLookAt(playerid,1975.2399,-1220.0157,25.0779);
        SetPlayerFacingAngle(playerid,122.4500);
        SetPlayerColor(playerid,0xA000FFFF); // Teamcolor
    }
    else if(classid == 1)
    {
        gTeam[playerid] = TEAM_CRIPS;
        GameTextForPlayer(playerid,"~w~Crips",3000,5);
        SetPlayerPos(playerid,2500.6060,-1672.1453,13.3512);
        SetPlayerCameraPos(playerid,2507.0615,-1674.3574,13.3732);
        SetPlayerCameraLookAt(playerid,2500.6060,-1672.1453,13.3512);
        SetPlayerFacingAngle(playerid,252.4717);
        SetPlayerColor(playerid,0x55FF00FF);
    }
    return 1;
}
Reply


Messages In This Thread
Error - by Dockz - 14.09.2013, 13:32
Re: Error - by Konstantinos - 14.09.2013, 13:33
Re: Error - by Dockz - 14.09.2013, 13:34

Forum Jump:


Users browsing this thread: 1 Guest(s)