SA-MP Forums

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

Reply
 
Thread Tools Display Modes
Old 08/05/2016, 03:44 PM   #61
Radio
Little Clucker
 
Join Date: May 2016
Posts: 31
Reputation: 7
Default Re: Dynamic circles (TextDraw, Object, 3D Label, Pickup, Map icon)

Great one , thank you for this!
Radio is offline   Reply With Quote
Old 08/05/2016, 03:58 PM   #62
Unrea1
Gangsta
 
Unrea1's Avatar
 
Join Date: Oct 2013
Location: Venezuela
Posts: 809
Reputation: 126
Default Re: Dynamic circles (TextDraw, Object, 3D Label, Pickup, Map icon)

you could not have it to use global TextDraws ?, greetings
__________________
Unrea1 is offline   Reply With Quote
Old 08/05/2016, 04:07 PM   #63
vannesenn
Gangsta
 
vannesenn's Avatar
 
Join Date: Feb 2011
Posts: 607
Reputation: 15
Default Re: Dynamic circles (TextDraw, Object, 3D Label, Pickup, Map icon)

Quote:
Originally Posted by LatinZ View Post
you could not have it to use global TextDraws ?, greetings
Only for global level, for each player - no. Because player 0 maybe will see dynamic circle from player 1.
vannesenn is offline   Reply With Quote
Old 26/06/2016, 01:54 PM   #64
n0minal
High-roller
 
n0minal's Avatar
 
Join Date: Mar 2013
Location: Rio de Janeiro
Posts: 4,044
Reputation: 789
Default Re: Dynamic circles (TextDraw, Object, 3D Label, Pickup, Map icon)

Is there any way to set the textrdraw circle value? Like SetCircleLevel to increase/decrease the progress of the circle?
n0minal is offline   Reply With Quote
Old 26/06/2016, 08:57 PM   #65
Correlli
Godfather
 
Correlli's Avatar
 
Join Date: May 2009
Location: Slovenia
Posts: 6,340
Reputation: 365
Default Re: Dynamic circles (TextDraw, Object, 3D Label, Pickup, Map icon)

Quote:
Originally Posted by ipsLeon View Post
Is there any way to set the textrdraw circle value? Like SetCircleLevel to increase/decrease the progress of the circle?
This should help you:
Code:
TD_SetCircleSlotColor(playerid, slot, color); // Use "TD_IsCircleCreated" function to make sure not to cross the maximum slot.
Correlli is offline   Reply With Quote
Old 08/11/2016, 09:27 PM   #66
Rdx
Banned
 
Join Date: Sep 2011
Posts: 168
Reputation: 27
Default Re: Dynamic circles (TextDraw, Object, 3D Label, Pickup, Map icon)

How many textdraws in one circle?
Rdx is offline   Reply With Quote
Old 09/11/2016, 11:14 AM   #67
Correlli
Godfather
 
Correlli's Avatar
 
Join Date: May 2009
Location: Slovenia
Posts: 6,340
Reputation: 365
Default Re: Dynamic circles (TextDraw, Object, 3D Label, Pickup, Map icon)

Quote:
Originally Posted by Rdx View Post
How many textdraws in one circle?
Read here:
Quote:
Originally Posted by Correlli View Post
"radius" and "diff" parameters:

If you don't know what radius is, then check the Wikipedia page. The "diff" parameter is a "step". 360 degrees represents the full circle, that means you'll have 360/diff items for your circle. The "diff" of 2.0 will give 180 items (example: objects).
Minimum "diff" for the textdraw circles is 1.40625, because textdraws are created on player-level, which means there can be maximum 256 player-textdraws created (360/256 = 1.40625). The functions will correct the "diff" parameter if you try to enter smaller "diff" than the minimum (1.40625). The minimum "diff" parameter for other circles is 1.0, there is also correcting feature in functions making sure the "diff" parameter won't be smaller than 1.0 for non-textdraw circles.
Correlli is offline   Reply With Quote
Old 09/11/2016, 11:37 AM   #68
n0minal
High-roller
 
n0minal's Avatar
 
Join Date: Mar 2013
Location: Rio de Janeiro
Posts: 4,044
Reputation: 789
Default Re: Dynamic circles (TextDraw, Object, 3D Label, Pickup, Map icon)

Hey Corelli wsup, I've been wondering if it would be possible to Create circular gangzones, do you have any plans for gangzones in this concept? My ideal was about to Create a big square as a center and then some tinny lines as complements for a possible circle, what do you think?
n0minal is offline   Reply With Quote
Old 09/11/2016, 12:42 PM   #69
Correlli
Godfather
 
Correlli's Avatar
 
Join Date: May 2009
Location: Slovenia
Posts: 6,340
Reputation: 365
Default Re: Dynamic circles (TextDraw, Object, 3D Label, Pickup, Map icon)

Quote:
Originally Posted by n0minal View Post
Hey Corelli wsup, I've been wondering if it would be possible to Create circular gangzones, do you have any plans for gangzones in this concept? My ideal was about to Create a big square as a center and then some tinny lines as complements for a possible circle, what do you think?
Sure, I've already thought about that, but I'm not planning to create it, at least not for now. If you want to, go for it. Like you said, you would need to create more gang-zones to create a circle shape.
Correlli is offline   Reply With Quote
Old 28/03/2017, 02:31 AM   #70
denNorske
Gangsta
 
denNorske's Avatar
 
Join Date: Nov 2011
Location: Oslo, Norway
Posts: 788
Reputation: 95
Default Re: Dynamic circles (TextDraw, Object, 3D Label, Pickup, Map icon)

removed...
__________________
xSF source has been publicly released: Available on git (https://git.ducky.rocks/denNorske/xsf-official-gamemode)
Useful Racespawn generator: https://forum.sa-mp.com/showpost.php...postcount=3777
Get an overview over your map objects: Check it here!

Last edited by denNorske; 29/03/2017 at 12:05 PM.
denNorske 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
How to add pickup icon? BlazeGaming Scripting Help 3 28/12/2014 11:07 AM
Dynamic Pickup/Label Help Joshy_Elite Scripting Help 2 28/03/2013 11:05 PM
dynamic map icon Tanush123 Scripting Help 5 03/01/2012 08:50 PM
Pickup Icon help JD Help Archive 1 09/12/2010 09:51 PM


All times are GMT. The time now is 06:37 PM.


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