SA-MP Forums

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

Reply
 
Thread Tools Display Modes
Old 18/04/2020, 10:48 AM   #1
David2212
Little Clucker
 
Join Date: Apr 2020
Posts: 16
Reputation: 0
Question [HELP]Lines on map

How to make this lines (RED) and zones (YELLOW)

https://imgur.com/Slg7IJp
David2212 is offline   Reply With Quote
Old 18/04/2020, 11:15 AM   #2
xRadical3
Gangsta
 
Join Date: May 2017
Location: Iran
Posts: 655
Reputation: 47
Default Re: [HELP]Lines on map

pawn Code:
//streamer plugin
CreateDynamicRectangle(Float:minx, Float:miny, Float:maxx, Float:maxy, worldid = -1, interiorid = -1, playerid = -1);
xRadical3 is offline   Reply With Quote
Old 18/04/2020, 11:26 AM   #3
David2212
Little Clucker
 
Join Date: Apr 2020
Posts: 16
Reputation: 0
Default Re: [HELP]Lines on map

It is not visible

I need color or what ?
David2212 is offline   Reply With Quote
Old 18/04/2020, 11:40 AM   #4
xRadical3
Gangsta
 
Join Date: May 2017
Location: Iran
Posts: 655
Reputation: 47
Default Re: [HELP]Lines on map

pawn Code:
native GangZoneShowForPlayer(playerid, gangzoneid, color);
native GangZoneShowForAll(gangzoneid, color);
xRadical3 is offline   Reply With Quote
Old 18/04/2020, 12:09 PM   #5
David2212
Little Clucker
 
Join Date: Apr 2020
Posts: 16
Reputation: 0
Default Re: [HELP]Lines on map

Code:
	new Gg;
 	Gg = CreateDynamicRectangle(-52, 1645, 391, 2104);
 	GangZoneShowForAll(Gg, COLOR_RED);
I did like this ,

but it is not visible
David2212 is offline   Reply With Quote
Old 18/04/2020, 01:54 PM   #6
JasonRiggs
Gangsta
 
Join Date: Jul 2016
Location: My bedroom.
Posts: 843
Reputation: 52
Default Re: [HELP]Lines on map

Quote:
Originally Posted by David2212 View Post
Code:
	new Gg;
 	Gg = CreateDynamicRectangle(-52, 1645, 391, 2104);
 	GangZoneShowForAll(Gg, COLOR_RED);
I did like this ,

but it is not visible
Because you created a rectangle buy showed a zone tho..
you should do it like that
PHP Code:
    new Gg;
     
Gg GangZoneCreate(-5216453912104);
     
GangZoneShowForAll(GgCOLOR_RED); 
__________________
JasonRiggs is offline   Reply With Quote
Old 18/04/2020, 03:33 PM   #7
David2212
Little Clucker
 
Join Date: Apr 2020
Posts: 16
Reputation: 0
Default Re: [HELP]Lines on map

I need only outer layer to be visible

like on this picture , red line https://imgur.com/Slg7IJp not like this yellow on pic
David2212 is offline   Reply With Quote
Old 18/04/2020, 05:46 PM   #8
David2212
Little Clucker
 
Join Date: Apr 2020
Posts: 16
Reputation: 0
Default Re: [HELP]Lines on map

I need to make zone look like this RED on map

Look: https://imgur.com/m9glSYY
David2212 is offline   Reply With Quote
Old 18/04/2020, 07:14 PM   #9
Adamoneoone
Huge Clucker
 
Join Date: Sep 2014
Posts: 488
Reputation: 37
Default Re: [HELP]Lines on map

Quote:
Originally Posted by David2212 View Post
I need to make zone look like this RED on map

Look: https://imgur.com/m9glSYY
Like i said, do 4 gang zones.
Adamoneoone is offline   Reply With Quote
Old 19/04/2020, 10:52 AM   #10
Threshold
High-roller
 
Threshold's Avatar
 
Join Date: Nov 2012
Location: Australia
Posts: 3,122
Reputation: 529
Default Re: [HELP]Lines on map

This isn't one single gangzone, this is rather 4 narrow gangzones all joined together.
__________________


Kar's Cops and Robbers 2020
Threshold 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
will long lines in script 100k lines slow down gamemode PSYCHOBABYKILLA Server Support 2 25/04/2015 11:31 AM
New lines Ananisiki Scripting Help 13 15/12/2013 05:11 PM
Why do new lines do this sometimes? (~n~) grand.Theft.Otto Help Archive 3 26/03/2011 03:12 PM
help with some lines WardenCS Help Archive 2 13/01/2010 12:17 PM
Help with some lines. WardenCS Help Archive 6 11/01/2010 05:26 PM


All times are GMT. The time now is 08:58 AM.


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