Angles
#8

Quote:
Originally Posted by AbyssMorgan
Посмотреть сообщение
PHP код:
new Float:x,Float:y,Float:z,
    
Float:tx,Float:ty,Float:tz,
    
Float:rx,Float:rz,Float:offset_rz;
GetPlayerPos(center_playerid,x,y,z);
GetPlayerFacingAngle(center_playerid,offset_rz);
GetPlayerPos(circle_playerid,tx,ty,tz);
GetRotationFor2Point3D(x,y,z,tx,ty,tz,rx,rz);
CompRotationFloat(rz-offset_rz,rz);
//compare rz 


3DTryg:
https://sampforum.blast.hk/showthread.php?tid=591010
Uh, yea, also could you give an example with OnPlayerGiveDamage? I don't really understand this thing. If It's the only way to do it then I will use it. Will I need any plugins?
Reply


Messages In This Thread
Angles - by GoldenLion - 01.09.2016, 15:07
Re: Angles - by Sew_Sumi - 01.09.2016, 15:11
Re: Angles - by GoldenLion - 01.09.2016, 15:15
Re: Angles - by Sew_Sumi - 01.09.2016, 15:44
Re: Angles - by GoldenLion - 01.09.2016, 15:49
Re: Angles - by AbyssMorgan - 01.09.2016, 15:51
Re: Angles - by GoldenLion - 01.09.2016, 16:05
Re: Angles - by GoldenLion - 01.09.2016, 17:10
Re: Angles - by Sew_Sumi - 01.09.2016, 17:20
Re: Angles - by AbyssMorgan - 01.09.2016, 17:22

Forum Jump:


Users browsing this thread: 1 Guest(s)