Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- SetPlayerPos(playerid,X,Y,Z);
- SetPlayerCameraPos(playerid, CX,CY,CZ);
- SetPlayerCameraLookAt(playerid, X,Y,Z);
- SetPlayerFacingAngle(playerid,A);
- Here X,Y,Z,A are the position
- and
- HERE CX,CY,CZ,CA are the camera position (CA is not used all all.)
- /rs gets
- X,Y,Z,A ;
- Example:
- X Y Z A
- 2095.6631,-1422.6595,98.6781,84.3311 ; little italy pos
- CX CY CZ CA
- 2082.6768,-1421.7848,98.6781,266.9827 ; little italy camera
- Example:
- SetPlayerPos(playerid, 2095.6631,-1422.6595,98.6781);
- SetPlayerCameraPos(playerid, 2082.6768,-1421.7848,98.6781);
- SetPlayerCameraLookAt(playerid, 2095.6631,-1422.6595,98.6781);
- SetPlayerFacingAngle(playerid,84.3311);
Add Comment
Please, Sign In to add comment