Camera weird bug
#1

hi,i have a "stupid" weird bug
I have changed the camera position but the team selection isn't showed
pic: http://img693.imageshack.us/i/samp015yh.png/
Код:
public OnPlayerRequestClass(playerid, classid)
{
  SetPlayerTeamFromClass(playerid, classid); // calls the custom function
  SetPlayerCameraPos(playerid,1040.6826,-1031.4434,32.0597,178.8593);
  SetPlayerCameraLookAt(playerid, 1044.6826,-1031.4434,32.0597,178.8593);
	return 1;
}
Reply
#2

maybe you have set the cameras position at the player skins' position, so the camera will look through the player - just swap the coords (1040.6826 and 1044.6826) to let the camera be 4 "units" besides and it should look at the player.
Reply
#3

doesn't work
Reply
#4

i bet your player selection coords are not near the camera - goto your SetPlayerTeamFromClass() function and have a look where all the characters are spawned at.
Reply
#5

this is my whole script,can you look at it and say what's wrong? http://pastebin.com/PzcPwmVL
Reply
#6

fixed, screwed, fixed again, compiled, tested, passed, blablabla: http://pastebin.com/zafvbaax
Reply
#7

You forgot to set the position for the player with SetPlayerPos
Reply


Forum Jump:


Users browsing this thread: