Camera Help!
#1

Hello guys im have made a TDM gamemode but i dont know how to put camera look at the skin help! and tell me anything and thanks
Reply
#2

https://sampwiki.blast.hk/wiki/SetPlayerCameraPos
Reply
#3

Well, you should have something like:

pawn Код:
public OnPlayerRequestClass(playerid, classid)
{
    SetPlayerPos( playerid, 1543.9497, -1353.1797, 329.4745 );
    SetPlayerCameraPos( playerid, 1516.3965, -1676.6370, 29.6441 );
    SetPlayerCameraLookAt (playerid, 1552.7390, -1675.4622, 16.1953 );
    return 1;
}
SetPlayerPos - Sets where the characters through which you 'scroll' are
SetPlayerCameraPos - Where the camera is positioned ... you should put it close to the character, so you can see it.
SetPlayerCameraLookAt - You put the SetPlayerPos coordinates, since you want the camera to look at that position.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)