SA-MP Forums Archive
Need a help please fast plz plz plz - 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: Need a help please fast plz plz plz (/showthread.php?tid=572252)



Need a help please fast plz plz plz - MafiaOink - 26.04.2015

stock SetToCam(playerid, camid)
{
new cveh = ***********************
new Float, Float:y, Float:z;
GetVehiclePos(cveh, x, y, z);
SetPlayerCameraPos(playerid, x, y, z);
SetPlayerCameraLookAt(playerid, 25.0, z-10.0, 25.0);
return 1;
}

Is mine, The vehicle model is 488(News maverick)
When I want to view it, It shows it on the middle of the heli, I want to make it at its fulltime forward where its ending engine place is, and looking down so the view is like the same how the flyer sees.
The circle in the picture shows where it should show from(angle changes on turn so I want that auto, I have a timer for that, But please do make what you can)

PLEASE HELP I REALLY NEED IT!


Re: Need a help please fast plz plz plz - MafiaOink - 26.04.2015

bump