Weird OnPlayerGiveDamage bug
#3

dont use larp distance function
and there isnt need to create public functions only when its called by timer or threaded query then it should be used
PHP код:
Float:gDisBetPlayers(p1,p2){
new 
Float:x,Float:z,Float:y;
GetPlayerPos(p1,x,y,z);
return 
GetPlayerDistanceFromPoint(p2,x,y,z);

Reply


Messages In This Thread
Weird OnPlayerGiveDamage bug - by Adamoneoone - 29.06.2018, 07:07
Re: Weird OnPlayerGiveDamage bug - by Adamoneoone - 29.06.2018, 19:43
Re: Weird OnPlayerGiveDamage bug - by CodeStyle175 - 29.06.2018, 19:58

Forum Jump:


Users browsing this thread: 1 Guest(s)