onplayerequestclass not working
#1

hi my onplayerrequestclass is not working well ive been at it for like 1 hour and getting anoyed

pawn Код:
public OnPlayerRequestClass(playerid, classid)
{
    SetPlayerPos(playerid, -331.3924,1964.1808,132.5414);
    SetPlayerFacingAngle(playerid, 208.87);
    SetPlayerCameraPos(playerid, -324.6863,1950.3998,132.4141);
    SetPlayerCameraLookAt(playerid, -324.6863,1950.3998,132.4141);
    return 1;
}
basicly it puts the cam at the right pos and the player at right pos but not the view!
Reply
#2

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

Isnt that what i did? lol
Reply
#4

The camera looks at the position the camera is
But the camera should look at the position the player is, shouldn't it ?
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)