SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Filterscripts > Includes

Reply
 
Thread Tools Display Modes
Old 12/01/2017, 01:03 AM   #1
Ivan_Ino
Big Clucker
 
Join Date: Oct 2012
Location: Croatia
Posts: 101
Reputation: 120
Default ColAndreas Debug Line

ColAndreas Debug Line


Include which support visually colandreas line hit

Include
This must be included after ColAndreas
Code:
#include <ca_debug>

Functions
Code:
CA_DebugDrawLine(Float:StartX, Float:StartY, Float:StartZ, Float:EndX, Float:EndY, Float:EndZ, bool:StopAtCollision, Color = 0xFFFF0000);

CA_DestroyDebugDrawLine(line);

IsValidDebugDrawLine(line);

Screenshots





Credits
  • Created by: Ino
  • ColAndreas Team - For ColAndreas
  • Southclaw - For math stuffs from 'line.inc'
  • ****** - Iterators
  • incognito - Streamer


Changes
-
-
-


Bugs
-
-
-


Download
(Version 1.0) Include + Example FS - GitHub ( https://github.com/Ino42O/CADrawDebugLine )
Ivan_Ino is online now   Reply With Quote
Old 12/01/2017, 01:30 AM   #2
JustMe.77
Huge Clucker
 
JustMe.77's Avatar
 
Join Date: Jun 2013
Location: Germany
Posts: 214
Reputation: 65
Default Re: ColAndreas Debug Line

Excellent work Ino
JustMe.77 is offline   Reply With Quote
Old 12/01/2017, 01:30 AM   #3
B4dSh33p
Big Clucker
 
Join Date: Jun 2016
Posts: 122
Reputation: 4
Default Re: ColAndreas Debug Line

Good job!
B4dSh33p is offline   Reply With Quote
Old 12/01/2017, 01:36 AM   #4
SickAttack
High-roller
 
Join Date: Dec 2013
Posts: 4,769
Reputation: 754
Default Re: ColAndreas Debug Line

What can this be useful for?
SickAttack is offline   Reply With Quote
Old 12/01/2017, 01:44 AM   #5
Ivan_Ino
Big Clucker
 
Join Date: Oct 2012
Location: Croatia
Posts: 101
Reputation: 120
Default Re: ColAndreas Debug Line

Thanks guys!


Quote:
Originally Posted by SickAttack View Post
What can this be useful for?
When you working with dynamic raycast cordinates you can debug them with this, to see where raycast going
Ivan_Ino is online now   Reply With Quote
Old 12/01/2017, 02:58 AM   #6
SickAttack
High-roller
 
Join Date: Dec 2013
Posts: 4,769
Reputation: 754
Default Re: ColAndreas Debug Line

Quote:
Originally Posted by RIDE2DAY View Post
The fact you don't know how to use this doesn't mean it cannot be useful for someone else.

@Ivan_Ino: I have some ideas in my head and this will help me definetly, good job. For some reason, it reminds me about RyDeR`'s grapple hook script.
You obviously don't know that this isn't really for production use.

I'm just asking for examples where it's useful, because I don't see any real 'helpful' use for it atm tbh.
SickAttack is offline   Reply With Quote
Old 12/01/2017, 04:14 AM   #7
SickAttack
High-roller
 
Join Date: Dec 2013
Posts: 4,769
Reputation: 754
Unhappy Re: ColAndreas Debug Line

Quote:
Originally Posted by RIDE2DAY View Post
If you have lack of creativity it's not my fault dude, I'm sorry about the difficult childhood though.

I didn't say where I'll use this, don't get me wrong. It'll be used for debugging purposes on a bank robbery system which I'm scripting.

Stop trolling with your useless comments by the way. "Posts Per Day: 4.68", that's not usual man, go out there and live your life. Have a nice day.
Debugging a bank robbery system? Are you on drugs? What do you need to debug in regards to that? It makes no sense if you don't go in to detail (but also makes a lot less sense taking all other concepts in to consideration), and if you don't want to go in to detail then you're just full of shit (seriously).

You know what they say, people start insulting when they *thousands of things can go here* (I'll just leave it there since I don't want to drop down to your level). So please explain if you can.

-----

He deserves recognition for his effort, but not that much. Pretty useless imo, probably just for those who tend to run in to problems I guess.
SickAttack is offline   Reply With Quote
Old 12/01/2017, 04:30 AM   #8
Kar
Banned
 
Join Date: May 2010
Location: Black Asylum
Posts: 2,939
Reputation: 538
Default Re: ColAndreas Debug Line

Chill boys.
Kar is offline   Reply With Quote
Old 12/01/2017, 04:32 AM   #9
SickAttack
High-roller
 
Join Date: Dec 2013
Posts: 4,769
Reputation: 754
Default Re: ColAndreas Debug Line

The boi can't take honest criticism, he prefers when people fake those 'good jobs' n' shit.

Quote:
Originally Posted by RIDE2DAY View Post
You're absolutely wrong, this is useful for those who wanna see how things work. Sadly, as I can see, you prefer to be rather an ignorant.
Good to know that you just admitted that it serves no practical use.

Quote:
Originally Posted by RIDE2DAY View Post
This guy deserves the "good job" just because the script involves some good maths.
Have a look at the credits, says Southclaw is to congratz for that (or most of it).

-----

I'm not hating on the release, just pointing out that it's not really a fantastic one. Would have been better if it was just on GitHub or something as it serves no real use for some.

-----

I just wanted to point out that mostly all my posts are from helping others, I do it for my own benefit; to learn. It just shows how willing I am to learn new things and how helpful I try to be.

You just pick on others because you think you're better than everyone else (as to how I see it). Go back to where you came from (probably the Spanish section since everyone there except OTACON is rude af).

-----

Final conclusion is that you're full of shit since you don't want to go in to details in regards to what you're using it for in your bank robbery system.

-----

I saw that you PMed me, but I never read it or bothered to read it. If you have anything else to say, say it here. I don't need your childish stuff right now.
SickAttack is offline   Reply With Quote
Old 12/01/2017, 04:53 AM   #10
SyS
High-roller
 
SyS's Avatar
 
Join Date: Oct 2015
Posts: 1,952
Reputation: 504
Default Re: ColAndreas Debug Line

A video might explain it's usage well (to be honest I was also going to ask what's its usage?).
SyS 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
ColAndreas DTV Scripting Help 1 20/10/2016 11:22 PM
ColAndreas Max_Andolini Scripting Help 13 12/06/2016 09:14 AM
ColAndreas - What have you used it for? Pottus Everything and Nothing 21 29/03/2016 10:05 PM
Help ColAndreas Crystallize Scripting Help 7 02/03/2016 03:53 AM


All times are GMT. The time now is 12:50 AM.


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