SA-MP Forums Archive
Detect distance zoom camera - 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: Detect distance zoom camera (/showthread.php?tid=443928)



Detect distance zoom camera - Kyra - 14.06.2013

Hi, i want to detect the distance camera zoom when the player aiming on foot its possible? I tryed but its bad

PHP код:
new Float:xFloat:yFloat:z;
    
GetPlayerCameraPos(playeridxyz);
    
SendClientMessageEx(playerid,-1,"Distance %f",GetPlayerDistanceFromPoint(playeridxy,z)); 
Example when the player have an object behind him the distance camera zoom change


Re: Detect distance zoom camera - Kyra - 16.06.2013

Not possible?