Problem adding skins
#2

Use Pastebin next time:

pawn Код:
public OnPlayerRequestClass(playerid,classid)
{
    SetPlayerInterior(playerid,14);
    SetPlayerPos(playerid,258.4893,-41.4008,1002.0234);
    SetPlayerFacingAngle(playerid, 270.0);
    SetPlayerCameraPos(playerid,256.0815,-43.0475,1004.0234);
    SetPlayerCameraLookAt(playerid,258.4893,-41.4008,1002.0234);
    if(classid == 0 || classid == 1 || classid == 2 || classid == 3)
    {
        PlayerTeam[playerid] = 0;
        SetPlayerTeam(playerid,0);
    }
    else if(classid == 4 || classid == 5 || classid == 6 || classid == 7)
    {
        PlayerTeam[playerid] = 1;
        SetPlayerTeam(playerid,1);
    }
    return 1;
}
Say for example The skins on OnGameModeInit was the first 4 one team the next 4 the other team your OnPlayerRequestClasss would be something like that.
Reply


Messages In This Thread
Problem adding skins - by WardenCS - 05.12.2009, 12:15
Re: Problem adding skins - by miokie - 05.12.2009, 12:29
Re: Problem adding skins - by WardenCS - 05.12.2009, 12:34
Re: Problem adding skins - by patchkinson - 05.12.2009, 12:40
Re: Problem adding skins - by miokie - 05.12.2009, 12:40
Re: Problem adding skins - by WardenCS - 05.12.2009, 12:45

Forum Jump:


Users browsing this thread: 1 Guest(s)