Float
#10

Quote:
Originally Posted by PapaSmerf
Посмотреть сообщение
The camera looks at the beaches in Los Santos. The camera doesn't move. Only look at beaches, ehh. When i use your code.
Maybe a do while loop can do the task as well as with the right condition!

pawn Код:
public OnPlayerRequestClass(playerid, classid)
{
    if(PlayerStats[playerid][Logged] == true)
    {
        new x = 4;
        do
        {
            InterpolateCameraPos(playerid, CameraSkinSelection[x][0], CameraSkinSelection[x][1], CameraSkinSelection[x][2], CameraSkinSelection[x][3], CameraSkinSelection[x][4], CameraSkinSelection[x][5], 2000, 1);
            InterpolateCameraLookAt(playerid, -1279.157348, 969.061645, 140.653335, -1269.364379, 976.686645, 141.089126, 2000, 1);
            x--;
        }
        while(x >= 0)
        SetPlayerPos(playerid, -1278.4835, 976.6465, 139.2304);
        SetPlayerFacingAngle(playerid,-94.0000);

        PlayerPlaySound(playerid, 1132, -1279.197509, 965.064270, 140.792968);
        TextDrawShowForPlayer(playerid, WhiteScreen);
        SetTimerEx("WhiteScreenClass", 100, 0, "d", playerid);
    }
    return 1;
}
Reply


Messages In This Thread
Float - by PapaSmerf - 12.11.2012, 10:05
Re: Float - by Ballu Miaa - 12.11.2012, 10:06
Re: Float - by PapaSmerf - 12.11.2012, 10:08
Re: Float - by Ballu Miaa - 12.11.2012, 10:10
Re: Float - by PapaSmerf - 12.11.2012, 10:25
Re: Float - by Ballu Miaa - 12.11.2012, 10:38
Re: Float - by PapaSmerf - 12.11.2012, 10:46
Re: Float - by Ballu Miaa - 12.11.2012, 10:56
Re: Float - by PapaSmerf - 12.11.2012, 11:13
Re: Float - by Ballu Miaa - 12.11.2012, 16:32

Forum Jump:


Users browsing this thread: 1 Guest(s)