13.01.2012, 16:30
Yes it is..
You just need to use
https://sampwiki.blast.hk/wiki/GetPlayerPos
here is some example..
You just need to use
https://sampwiki.blast.hk/wiki/GetPlayerPos
here is some example..
pawn Код:
public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)
{
new Float: X, Float: Y, Float: Z;
GetPlayerPos(playerid, X, Y, Z);
SetPlayerCameraPos(playerid, X, Y, Z + 20);
SetPlayerCameraLookAt(playerid, X + 5, Y, Z);
return 1;
}