23.03.2014, 09:15
So i decided to use MP2's camera moving include and seems to work correctly but now i can't go to request class... I am using it on player connect and then it doesn't sends you to class selection? Any idea here is my code:
it logs in but it doesnt send on class selection then :/
pawn Код:
OnPlayerRequestClass callback
{
SetPlayerInterior(playerid, 0);
SetPlayerPos(playerid,2025.0773,-1423.5450,16.9922);
SetPlayerCameraPos(playerid,2016.2635,-1432.2692,13.5458);
SetPlayerCameraLookAt(playerid,2025.0773,-1423.5450,16.9922);
SetPlayerFacingAngle(playerid, 135.4);
return 1;
}
OnPlayerConnect callback
{
SetPlayerCamera(playerid, 2001.823974, -1069.818481, 202.117340, 779.929504, -1942.855590, 169.096206, true);
InterpolatePlayerCamera(playerid, 2001.823974, -1069.818481, 202.117340, 779.929504, -1942.855590, 169.096206, 634.326599, -1901.326782, 166.084747, 202.117340, 779.929504, -1942.855590, 30000);
return 1;
}