13.07.2009, 15:25
im trying to make a RPG script, buh this is holding me back cause i need to move on to the rest of the script...can u plz help
1. Problem
At the Player Selection, i tried to use interiors for Sweet, so at the player selection you would see him in his house...there are two problems when i set the interior for his class i cannot see him, i know i have to get the player angle buh any angle i try from north south east west dont work, i really need a facing angle i can use for all the skins so the camera is facing the right way. i always copy the camera pos, camera pos angle and camera lookat from samp wiki for sweets house but theres always a problem.
2.
I created a textdraw that will show up as Grove Street Families, but how do i make it show up for a particular skin like the sweet one above
1. Problem
At the Player Selection, i tried to use interiors for Sweet, so at the player selection you would see him in his house...there are two problems when i set the interior for his class i cannot see him, i know i have to get the player angle buh any angle i try from north south east west dont work, i really need a facing angle i can use for all the skins so the camera is facing the right way. i always copy the camera pos, camera pos angle and camera lookat from samp wiki for sweets house but theres always a problem.
Quote:
public OnPlayerRequestClass(playerid, classid) { switch(classid) { case 0: { { SetPlayerInterior(playerid, 1); SetPlayerPos(playerid, 2527.654052,-1679.388305,1015.498596); SetPlayerFacingAngle(playerid, 219.106613); SetPlayerCameraPos(playerid, 2527.654052,-1679.388305,1015.498596); SetPlayerCameraLookAt(playerid, 2527.654052,-1679.388305,1015.498596); ApplyAnimation(playerid, "ON_LOOKERS", "wave_loop", 4.0, 1, 0, 0, 0, 0); // Example Animation } } |
I created a textdraw that will show up as Grove Street Families, but how do i make it show up for a particular skin like the sweet one above