SA-MP Forums

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

Reply
 
Thread Tools Display Modes
Old 05/06/2016, 10:38 AM   #1
Max_Andolini
Huge Clucker
 
Max_Andolini's Avatar
 
Join Date: Oct 2013
Posts: 318
Reputation: 37
Default ColAndreas

https://www.youtube.com/watch?v=kXb7RGnEtOE

How can I do that?
Max_Andolini is online now   Reply With Quote
Old 05/06/2016, 04:38 PM   #2
Max_Andolini
Huge Clucker
 
Max_Andolini's Avatar
 
Join Date: Oct 2013
Posts: 318
Reputation: 37
Default Re: ColAndreas

Help.
Max_Andolini is online now   Reply With Quote
Old 05/06/2016, 04:54 PM   #3
ilijap
Big Clucker
 
ilijap's Avatar
 
Join Date: Apr 2016
Location: Macedonia
Posts: 105
Reputation: 7
Default Re: ColAndreas

With good calculations you can do that without ColAndreas
__________________
Rep+ If I helped
ilijap is offline   Reply With Quote
Old 05/06/2016, 05:03 PM   #4
Crayder
Banned
 
Join Date: Sep 2013
Location: Flames of Hell
Posts: 3,324
Reputation: 652
Default Re: ColAndreas

Btw, you know bumping within 24 hours of your last post is against the rules? You just did it in 6.

And thanks for opening a topic for this.

Have a look at these:
http://pastebin.com/8jGtPHhq
http://forum.sa-mp.com/showthread.php?t=446286
http://forum.sa-mp.com/showthread.php?t=606413

Now go read the ColAndreas thread to learn how to do raycasts.

Boom, that's it. Throw together some simple physics and use raycasts to stop the object on the ground and make sure the object doesn't hit a wall. It's easy. Hell, you could even make it bounce off of a wall.
Crayder is offline   Reply With Quote
Old 05/06/2016, 06:20 PM   #5
Gammix
High-roller
 
Gammix's Avatar
 
Join Date: Jan 2015
Location: Canada
Posts: 1,773
Reputation: 858
Default Re: ColAndreas

There is an example of throwing a desert eagle in the physics include.
__________________

Follow me on Github: Donate on Paypal:

Gammix is offline   Reply With Quote
Old 05/06/2016, 06:49 PM   #6
Max_Andolini
Huge Clucker
 
Max_Andolini's Avatar
 
Join Date: Oct 2013
Posts: 318
Reputation: 37
Default Re: ColAndreas

Quote:
Originally Posted by Gammix View Post
There is an example of throwing a desert eagle in the physics include.
This is bugged. Weapon staying in air

Last edited by Max_Andolini; 06/06/2016 at 02:29 PM.
Max_Andolini is online now   Reply With Quote
Old 05/06/2016, 08:52 PM   #7
CodeStyle175
Banned
 
Join Date: Apr 2014
Posts: 455
Reputation: 35
Default Re: ColAndreas

you can also use for that mapandreas, no need for colandreas.
CodeStyle175 is offline   Reply With Quote
Old 06/06/2016, 04:15 AM   #8
Crayder
Banned
 
Join Date: Sep 2013
Location: Flames of Hell
Posts: 3,324
Reputation: 652
Default Re: ColAndreas

Quote:
Originally Posted by CodeStyle175 View Post
you can also use for that mapandreas, no need for colandreas.
1. MapAndreas doesn't detect walls.
2. MapAndreas isn't as accurate as ColAndreas
3. ColAndreas has functions that can align the gun with the ground
4. ColAndreas has functions that can be used to make the gun bounce off of walls
5. Many more reasons.

MapAndreas is outdated bro, ColAndreas is god when compared to MapAndreas.
Crayder is offline   Reply With Quote
Old 06/06/2016, 06:11 AM   #9
bybaran
Little Clucker
 
bybaran's Avatar
 
Join Date: Jun 2012
Location: Alabama
Posts: 23
Reputation: 2
Default Re: ColAndreas

How can i get if object touch on ground with ColAndreas?
bybaran is offline   Reply With Quote
Old 07/06/2016, 06:40 AM   #10
bybaran
Little Clucker
 
bybaran's Avatar
 
Join Date: Jun 2012
Location: Alabama
Posts: 23
Reputation: 2
Default Re: ColAndreas

How?
bybaran 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 - 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
Fail ColAndreas OrangeJam Русский/Russian 1 15/02/2016 04:47 AM
[Plugin] ColAndreas - (Released) Pottus Plugin Development 415 19/08/2015 12:31 AM


All times are GMT. The time now is 05:44 PM.


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