GangZoneCreate

From SA-MP Wiki

(Difference between revisions)
Jump to: navigation, search
Revision as of 15:27, 31 August 2012
Drebin (Talk | contribs)

← Previous diff
Revision as of 21:58, 4 February 2014
Connor Mead (Talk | contribs)

Next diff →
Line 1: Line 1:
{{Scripting}} {{Scripting}}
-{{Title}} 
{{Description|Create a gangzone (colored radar area).}} {{Description|Create a gangzone (colored radar area).}}
Line 34: Line 33:
[[Category:Scripting Functions]] [[Category:Scripting Functions]]
 +
 +[[fr:GangZoneCreate]]

Revision as of 21:58, 4 February 2014



Description:

Create a gangzone (colored radar area).


Parameters:
(Float:minx, Float:miny, Float:maxx, Float:maxy)
minxThe X coordinate for the west side of the gangzone.
minyThe Y coordinate for the south side of the gangzone.
maxxThe X coordinate for the east side of the gangzone.
maxyThe Y coordinate for the north side of the gangzone.


Return Values:

The ID of the created zone


Image:32px-Circle-style-warning.png

Important
Note

There is a limit of 1024 gangzones.


Image:32px-Ambox_warning_orange.png

Note

This function merely CREATES the gangzone, you must use GangZoneShowForPlayer or GangZoneShowForAll to show it.


new gangzone;
gangzone = GangZoneCreate(1248.011, 2072.804, 1439.348, 2204.319);

Related Functions

The following functions may be useful, as they are related to this function in one way or another.

In other languages