Tag mismatch
#6

Fixed mismatches!

Solution:

pawn Код:
forward Float:GetDistance( Float:x1, Float:y1, Float:z1, Float:x2, Float:y2, Float:z2 );
public Float:GetDistance( Float:x1, Float:y1, Float:z1, Float:x2, Float:y2, Float:z2 )
{
    new Float:dist;
    dist = floatround( floatsqroot( ( ( x1 - x2 ) * ( x1 - x2 ) ) + ( ( y1 - y2 ) * ( y1 - y2 ) ) + ( ( z1 - z2 ) * ( z1 - z2 ) ) ) ) ;
    return dist;
}
Reply


Messages In This Thread
Tag mismatch - by Sime30 - 25.01.2015, 14:45
Re: Tag mismatch - by BroZeus - 25.01.2015, 14:52
Re: Tag mismatch - by Sime30 - 25.01.2015, 16:54
Re: Tag mismatch - by ATGOggy - 25.01.2015, 16:58
Re: Tag mismatch - by Sime30 - 25.01.2015, 17:00
Re: Tag mismatch - by Sime30 - 25.01.2015, 17:14

Forum Jump:


Users browsing this thread: 1 Guest(s)