Some interior || virtual world bug problem
#5

pawn Код:
public OnPlayerRequestClass(playerid, classid)
{
    SetPlayerVirtualWorld(playerid, 0);
    if(0 <= SkinClass[classid] <= 279 || 289 <= SkinClass[classid] <= 299)
    {
        GameTextForPlayer( playerid, "~r~Al-nas", 300, 3 );
        SetPlayerPos(playerid, 349.22, 30306, 1000.13);
        SetPlayerFacingAngle(playerid, 187.3405);
        SetPlayerInterior(playerid, 6);
        SetPlayerCameraPos(playerid, 347.58, 303.12, 999.15);
        SetPlayerCameraLookAt(playerid, 349.22, 30306, 1000.13);
    }
    else
    {
        GameTextForPlayer( playerid, "~b~POLES", 300, 3 );
        SetPlayerPos(playerid, 231.6830, 165.2193, 1003.9044);
        SetPlayerFacingAngle(playerid, 263.6608);
        SetPlayerInterior(playerid, 3);
        SetPlayerCameraPos(playerid, 234.17, 165.77, 1004.02);
        SetPlayerCameraLookAt(playerid, 231.6830, 165.2193, 1003.9044);
    }
    return 1;
}
+ you need use SetPlayerTeam(playerid,TEAM_HERE); or in AddPlayerClassEx ?
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)