GetClosestPlayer
#6

Quote:
Originally Posted by cessil
Посмотреть сообщение
this is from someone else, I think lucirado or something like it.

pawn Код:
stock Float:GetDistanceBetweenPoints(Float:rx1,Float:ry1,Float:rz1,Float:rx2,Float:ry2,Float:rz2)
{
    return floatadd(floatadd(floatsqroot(floatpower(floatsub(rx1,rx2),2)),floatsqroot(floatpower(floatsub(ry1,ry2),2))),floatsqroot(floatpower(floatsub(rz1,rz2),2)));
}
function with tag result used before definition, forcing reparse. at the stock Float:... line
Reply


Messages In This Thread
GetClosestPlayer - by armyoftwo - 23.12.2010, 10:18
Re: GetClosestPlayer - by cessil - 23.12.2010, 10:25
Re: GetClosestPlayer - by armyoftwo - 23.12.2010, 10:30
Re: GetClosestPlayer - by cessil - 23.12.2010, 10:45
Re: GetClosestPlayer - by rjjj - 23.12.2010, 11:33
Re: GetClosestPlayer - by armyoftwo - 24.12.2010, 13:36
Re: GetClosestPlayer - by The_Gangstas - 24.12.2010, 14:12

Forum Jump:


Users browsing this thread: 1 Guest(s)