29.06.2018, 19:58
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
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);
}