23.10.2015, 20:08
I have a few questions regarding a cam system that I'm making....
1) How do I make it so the player can't be seen just floating in the air as he/she currently is.
2) How do I make it so the player can't move / run / turn around in the camera mode?
3) How do I give elevation and angle to the cameras? Currently they are just all on the floor, I'll give you a sample code of what I'm doing (could be completely wrong!)
I'm pretty new (as in very new) to scripting so this may come of as a complete noob question (probably is.)
1) How do I make it so the player can't be seen just floating in the air as he/she currently is.
2) How do I make it so the player can't move / run / turn around in the camera mode?
3) How do I give elevation and angle to the cameras? Currently they are just all on the floor, I'll give you a sample code of what I'm doing (could be completely wrong!)
Код:
case 0: { SetCameraBehindPlayer(playerid); SetPlayerCameraPos(playerid,1540.3452, -1621.5562, 23.1563, 253.1623); SetPlayerCameraLookAt(playerid,1540.3452, -1621.5562, 23.1563, 253.1623); //LSPD SPAWN 1 }