PDA

View Full Version : ONplayerrequestclass


AroseKhanNiazi
20/05/2014, 06:20 PM
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
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

AroseKhanNiazi
21/05/2014, 02:52 AM
Thanks Ralf but how u get it ??

Scrillex
21/05/2014, 02:59 AM
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...