[Include] polygons
#1

I want to introduce you to a system that allows you to draw polygons in the SAMP.
Presentation:







Number of zones on every area < 100

Functions:

PHP Code:
CreatePolygonFloatarea[ ], all_points sizeof area ) - Create polygonReturns the ID of the polygon
DestroyPolygon
polygonid )
PolygonFlashForAllpolygonidcolor 0xFF0000AA )
PolygonFlashForPlayerplayeridpolygonidcolor 0xFF0000AA )
PolygonStopFlashForAllpolygonid )
PolygonStopFlashForPlayerplayeridpolygonid )
PolygonShowForAllpolygonidcolor 0xFFFFFFAA )
PolygonShowForPlayerplayeridpolygonidcolor 0xFFFFFFAA )
PolygonHideForAllplayeridpolygonid )
PolygonHideForPlayerplayeridpolygonid )
CountGangZones() - Displays the total number of gang zones on the entire server 
The system works like with a streamer plugin, and without it.

If you connected the plugin, you can use a new callback's:

PHP Code:
OnPlayerEnterPolygonplayeridpolygonid )
OnPlayerLeavePolygonplayeridpolygonid 
Link: https://github.com/Seregamil/SA-MP-Polygons
Creator: Seregamil

P.S. Sorry for my bad English.

Reply


Messages In This Thread
polygons - by Seregamil1 - 26.06.2014, 16:04
Re: polygons - by PT - 26.06.2014, 16:28
Re: polygons - by Excel™ - 27.06.2014, 10:47
Re: polygons - by Niko_boy - 28.06.2014, 08:05
Re: polygons - by friezakinght - 28.06.2014, 09:55
Re: polygons - by thaKing - 28.06.2014, 10:26
Re: polygons - by Excel™ - 28.06.2014, 12:31
Re: polygons - by Jankingston - 28.06.2014, 12:36
Re: polygons - by Seregamil1 - 29.06.2014, 02:14
Re: polygons - by Seregamil1 - 29.06.2014, 09:32
Re: polygons - by iRaiDeN - 29.06.2014, 11:36
Re: polygons - by Seregamil1 - 29.06.2014, 15:33
Re: polygons - by Infility - 01.07.2014, 05:55
Re: polygons - by Seregamil1 - 05.07.2014, 05:06

Forum Jump:


Users browsing this thread: 2 Guest(s)