Need help setting up teams
#6

They're already there, no compiling error..
pawn Код:
public OnGameModeInit()
{
    SetGameModeText("Cops and Criminals");
    AddPlayerClass(2, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
    AddPlayerClass(267, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
    return 1;
}
//==============================================================================
public OnPlayerRequestClass(playerid, classid)
{
    SetPlayerInterior(playerid,3);
    SetPlayerPos(playerid,944.99,-41.64,1001.77);
    SetPlayerFacingAngle(playerid,180.0);
    SetPlayerCameraPos(playerid,944.69,-47.54,1001.12);
    SetPlayerCameraLookAt(playerid,944.99,-41.64,1001.77);
    if(classid == 0)
    {
        SetPlayerTeamFromClass(playerid, classid);
        GameTextForPlayer(playerid,"~w~CIVILIAN",1000,4);
    }
    if(classid == 1)
    {
        SetPlayerTeamFromClass(playerid, classid);
        GameTextForPlayer(playerid,"~b~COP",1000,4);
    }
    return 1;
}
But when I join
It doesn't get me to the Axis I put to choose skins from
Reply


Messages In This Thread
Need help setting up teams - by _Khaled_ - 12.07.2012, 00:37
Re: Need help setting up teams - by CmZxC - 12.07.2012, 00:40
Re: Need help setting up teams - by _Khaled_ - 12.07.2012, 00:42
Re: Need help setting up teams - by CmZxC - 12.07.2012, 00:43
Re: Need help setting up teams - by Miqueias Barros - 12.07.2012, 00:45
Re: Need help setting up teams - by _Khaled_ - 12.07.2012, 00:46
Re: Need help setting up teams - by Captain_Mani - 12.07.2012, 01:01

Forum Jump:


Users browsing this thread: 1 Guest(s)