12.03.2015, 17:30
how to set request camera here
and here
and camera moving from place to place like flying
and here
and camera moving from place to place like flying
Code:
SetPlayerTeamFromClass(playerid,classid); public OnPlayerRequestClass(playerid, classid) { switch(classid) { case 0,1,2,3,4,5: { // TEAM STUFF GameTextForPlayer(playerid,"~b~Cops",1000,4); SetPlayerColor(playerid, C_COLOR); gTeam[playerid] = C1; SetPlayerPos(playerid,254.5903,1895.2537,20.3694); SetPlayerCameraPos(playerid,244.5754,1895.7119,19.8237); SetPlayerCameraLookAt(playerid,254.5903,1895.2537,20.3694); SetPlayerFacingAngle(playerid,90.6916); ApplyAnimation(playerid,"DANCING","DNCE_M_B",4.0,1,0,0,0,-1); //smooth dancing } case 6,7,8,9,10,11: { GameTextForPlayer(playerid,"~r~Terrorists",1000,4); SetPlayerColor(playerid, T_COLOR); gTeam[playerid] = T1; SetPlayerPos(playerid,-285.0289,2661.6575,62.6531); SetPlayerCameraPos(playerid,-279.0844,2660.7461,62.6090); SetPlayerCameraLookAt(playerid,-285.0289,2661.6575,62.6531); SetPlayerFacingAngle(playerid,271.5169); ApplyAnimation(playerid,"DANCING","DNCE_M_B",4.0,1,0,0,0,-1); //smooth dancing } }