Need help with teams class !
#1

My problem is that camera looks so high but it needs to be lower.Can anybody help me?
Here's the code.
Код:
    }
    else if(classid == 6)
    {
        gTeam[playerid] = TEAM_test;
        GameTextForPlayer(playerid,"~b~Tropical Island Guardians",3000,5);
        SetPlayerPos(playerid, 3112.4717,-1500.7024,191.9964);
        SetPlayerFacingAngle(playerid, 191.9964);
        SetPlayerCameraLookAt(playerid, 1987.2367, -1113.7439, 35.1636445);
        SetPlayerCameraPos(playerid,3084.0261,-1527.0895,29.0488);
        SetPlayerColor(playerid,0xFF0000AA);
        ApplyAnimation(playerid,"GYMNASIUM", "GYMshadowbox", 1.800001, 1, 0, 0, 1, 600);

    }
    else if(classid == 7)
    {
        gTeam[playerid] = TEAM_test;
        GameTextForPlayer(playerid,"~b~Tropical Island Guardians",3000,5);
        SetPlayerPos(playerid, 3084.0261,-1527.0895,29.0488);
        SetPlayerFacingAngle(playerid, 29.0488);
        SetPlayerCameraLookAt(playerid, 3084.0261,-1527.0895,29.0488);
        SetPlayerCameraPos(playerid,3084.0261,-1527.0895,29.0488);
        SetPlayerColor(playerid,0x0000BBAA);
        ApplyAnimation(playerid,"DANCING","DAN_Right_A",4.0,1,0,0,0,0);
Reply
#2

bump -______-
Reply
#3

On each of these lines:
pawn Код:
SetPlayerCameraPos(playerid,3084.0261,-1527.0895,29.0488);
The 29.0488 is the height. Experiment by changing that value until you are happy with it.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)