SA-MP Forums Archive
ONplayerrequestclass - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: ONplayerrequestclass (/showthread.php?tid=514271)



ONplayerrequestclass - AroseKhanNiazi - 20.05.2014

pawn Код:
SetPlayerPos(playerid,724.1051,-1275.8760,17.6484);
    SetPlayerCameraPos(playerid, 724.1051,-1275.8760,17.6484);
    SetPlayerCameraLookAt(playerid, 724.1051,-1275.8760,17.6484);
    SetPlayerFacingAngle( playerid, 273.1174);
under gamemodeinit
pawn Код:
AddPlayerClass(3, 724.1051,-1275.8760,17.6484,273.1174,0,0,0,0,0,0);
how can i make the camera in front of it


Re: ONplayerrequestclass - AroseKhanNiazi - 21.05.2014

Thanks Ralf but how u get it ??


Re: ONplayerrequestclass - Scrillex - 21.05.2014

SetPlayerCameraPos(playerid, 730.5435, -1276.3328, 18.9253);

so SetPlayerCameraPos(playerid, x, y, a);

But I'm always using includes to get better angle for cam and saving position of camera where it is needed...