SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Scripting Help

Reply
 
Thread Tools Display Modes
Old 01/04/2019, 11:08 AM   #1
playstores
Big Clucker
 
Join Date: Feb 2018
Posts: 148
Reputation: 3
Default Code Alright ?

stock Float:GetDistanceBetweenPoints(Float: x1f,Float:y1f,Float: z1f,Float: x2f,Float:y2f,Float:z2f)
{
return floatadd(floatadd(floatsqroot(floatpower(floatsub( x1f,x2f),2)),floatsqroot(floatpower(floatsub(y1f,y 2f),2))),floatsqroot(floatpower(floatsub(z1f,z2f), 2)));
}
playstores is offline   Reply With Quote
Old 01/04/2019, 12:10 PM   #2
fiki574
Gangsta
 
fiki574's Avatar
 
Join Date: Mar 2011
Location: Croatia
Posts: 855
Reputation: 169
Default Re: Code Alright ?

Bruv, it's so good it cured my eye cancer.

Thanks.
__________________
fiki574 is offline   Reply With Quote
Old 01/04/2019, 12:25 PM   #3
MicroKyrr
Huge Clucker
 
MicroKyrr's Avatar
 
Join Date: Sep 2015
Location: Philippines
Posts: 252
Reputation: 24
Default Re: Code Alright ?

Use CODE tags, tnx.

Quote:
Originally Posted by fiki574 View Post
Bruv, it's so good it cured my eye cancer.

Thanks.
__________________
MicroKyrr is offline   Reply With Quote
Old 01/04/2019, 01:39 PM   #4
playstores
Big Clucker
 
Join Date: Feb 2018
Posts: 148
Reputation: 3
Default Re: Code Alright ?

Code:
stock Float:GetDistanceBetweenPoints(Float: x1f,Float:y1f,Float: z1f,Float: x2f,Float:y2f,Float:z2f)
{
return floatadd(floatadd(floatsqroot(floatpower(floatsub( x1f,x2f),2)),floatsqroot(floatpower(floatsub(y1f,y 2f),2))),floatsqroot(floatpower(floatsub(z1f,z2f), 2)));
}
playstores is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Alright, let's see if we can solve this: OnPlayerEdit(Dynamic)Object not calling. BornHuman Scripting Help 2 03/06/2016 05:34 PM
everything was alright Jhony_Blaze Scripting Help 3 25/12/2014 10:38 PM
Could someone explain this to me and tell me if it's an alright compilation? Dokins Scripting Help 1 01/09/2013 06:25 PM
Is this alright? iGetty Help Archive 7 04/08/2011 05:03 PM
Alright bell is fucking playing with me.. propilot Everything and Nothing 5 11/12/2010 02:51 PM


All times are GMT. The time now is 07:27 AM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.