13.07.2012, 10:56
ok my gang war server has class selection in which when we move class selection to grove street the camera is placed at groove street and when we move to ballas the camera is at ballas place like this
so i want when on layer is selecting class the camera should move to that postion
PHP код:
case 8..11: {
GameTextForPlayer(playerid, "~n~~n~~n~~n~~n~~n~~n~~n~~n~~y~Ballas", 3000, 3);
SetPlayerPos(playerid, 2012.8110,-1199.6431,20.0234);
SetPlayerCameraPos(playerid, 2016.9944,-1199.9324,20.1287);
SetPlayerCameraLookAt(playerid, 2012.8110,-1199.6431,20.0234);
SetPlayerFacingAngle(playerid, 268.5099);
ApplyAnimation(playerid,"GHANDS", "gsign2LH",4.0,1,1,1,1,1);
}
case 12..15: {
GameTextForPlayer(playerid, "~n~~n~~n~~n~~n~~n~~n~~n~~n~~y~Grove Families", 3000, 3);
SetPlayerPos(playerid, 2468.6868,-1660.0106,13.3356);
SetPlayerCameraPos(playerid, 2462.4019,-1658.0359,13.3047);
SetPlayerCameraLookAt(playerid, 2468.6868,-1660.0106,13.3356);
SetPlayerFacingAngle(playerid, 70.7120);
ApplyAnimation(playerid,"LOWRIDER", "RAP_B_Loop",4.0,1,1,1,1,1);
}