[Tool/Web/Other] MMO Camera
#1

Or something like that

The entire system will consist of a few lines,
only need to add a OnPlayerUpdate:
Код:
new Float:x,Float:y,Float:z;
    GetPlayerPos(playerid,x,y,z);
    
    SetPlayerCameraPos(playerid, x-5, y, z+5);
    SetPlayerCameraLookAt(playerid, x-4, y, z+4);
And spawn right to remove or not connected to the chamber (as SetPlayerBehindCamera)

Maked by Me ~ 15 minute and then at a rate

Picture:

Good Luck!
Reply
#2

@ OnPlayerUpdate? Very unexplained tutorial. And simply bad. OnPlayerUpdate is called multiple times a second which will put a lot of stress on hardware.
Reply
#3

Could you explain anything, other than where to put it?
You're supposed to make a tutorial here, if you want to give players an useful function, go here.
Reply
#4

Ok,put it in secon timer or make arrows on td and put function)
P.S Bad English,sorr
Reply
#5

https://sampwiki.blast.hk/wiki/AttachCameraToPlayerObject
Much better way.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)