Make sure you did it right
UPDATE:
Steps to make it right.
1.)Make new one (go ingame)
2.)Goto position where player will be pos (then use /save GuySelectSkin
3.)Now goto position where camera will be pos (then use /save Camera)
4.)Now go to My Documents>SAMP>savedpositions.txt (Find GuySelectSkin and Camera)
Let me explain you something about getting the coordinates of your /save
pawn Код:
AddPlayerClass(modelid, Float:spawn_x, Float:spawn_y, Float:spawn_z, Float:z_angle, weapon1, weapon1_ammo, weapon2, weapon2_ammo, weapon3, weapon3_ammo); //Name of your /save
now its time to script something
5.)Open your GM now go to OnPlayerRequestClass:
pawn Код:
//Code below
SetPlayerPos(playerid,,Float:x, Float:y, Float:z); //replace this with your /save coordinates
SetPlayerFacingAngle(playerid,Float:z_angle); //replace this with your /save coordinates (EG. 48.908131) you will pick the 48 and put on FacingAngle
SetPlayerCameraLookAt(playerid,Float:x, Float:y, Float:z); //This is where the camera will look at. Make sure copy the correct coordinates the Example of this is GuySelectSkin
SetPlayerCameraPos(playerid,Float:x, Float:y, Float:z); //This is where the camera position. copy the coordinates of /camera
i hope you did it right