OnPlayerRequestClass help-_-
#1

So, I decided to attempt to make a TDM script. And as I was making it, I realised there's a 'SetPlayerPos' in it. I want to add this code in:

pawn Код:
SetPlayerCameraPos(playerid, 1122.1455, -2036.6072, 79.1891);

SetPlayerCameraLookAt(playerid, 1121.1506, -2036.6760, 79.2091);
Should I keep the SetPlayerPos there or what?
Reply
#2

according to https://sampwiki.blast.hk/wiki/SetPlayerCameraLookAt

Quote:

Set the direction a player's camera looks at. To be used in combination with SetPlayerCameraPos.

hope that helps
Reply
#3

Quote:
Originally Posted by Donvalley
Посмотреть сообщение
Not really LOL
Reply
#4

lol, use them both if you scroll down a little on Wiki link you will see the example
Reply
#5

*third edit D: didn't read the post.

yes keep setplayerpos in that, in any order it doesn't matter.

SetPlayerPos(playerid, 1121.1506, -2036.6760, 79.2091)

set their position to the way that the camera is looking or offset a little if you want.
Reply
#6

But what about the SetPlayerPos?
Reply
#7

Just use this:

Class Maker
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)