[Include] [UNIQUE]beaZone - GangZone Numbers & Borders [1.0]
#17

Quote:
Originally Posted by beaz
Посмотреть сообщение
Here is pastebin link http://pastebin.com/k4mWPcxS



You can create numbers with less gangzones if you use numbers like 1,7 which require only 2 gangzones for one number.

With GangZoneShowForPlayerEx and GangZoneHideForPlayerEx, I think you can create them very easily.Just paste the code from include in OnPlayerConnect callback to the function and edit it.

For example GangZoneShowForPlayerEx:
pawn Код:
GangZoneShowForPlayerEx(playerid,gangzoneid,color)
{
             GangZoneShowForPlayer(playerid,gangzoneid,color); // showing main gangzone back
      if(zGangZones[gangzoneid][zexist]) // if gangzone was created with boarders and numbers
      {
              // showing borders
       GangZoneShowForPlayer(playerid,zGangZones[gangzoneid][border][0],0x00000060);
       GangZoneShowForPlayer(playerid,zGangZones[gangzoneid][border][1],0x00000060);
       GangZoneShowForPlayer(playerid,zGangZones[gangzoneid][border][2],0x00000060);
       GangZoneShowForPlayer(playerid,zGangZones[gangzoneid][border][3],0x00000060);

              // showing numbers
       for(new nump;nump<5;nump++)
       {
         if(zGangZones[gangzoneid][npart][nump] != -1)
         {
           GangZoneShowForPlayer(playerid,zGangZones[gangzoneid][npart][nump],0x00000080);
         }
         if(zGangZones[gangzoneid][npart2][nump] != -1)
         {
           GangZoneShowForPlayer(playerid,zGangZones[gangzoneid][npart2][nump],0x00000080);
         }
       }
      }
}
I know how to make Show/Hide to show/hide the entire gangzone, I just suggested you to add these functions to this post, so others could use them easily.
Reply


Messages In This Thread
[UNIQUE]beaZone - GangZone Numbers & Borders [1.0] - by beaz - 14.01.2013, 18:10
Re : [UNIQUE]beaZone - GangZone Numbers & Borders [1.0] - by XDamienX007 - 14.01.2013, 18:18
Respuesta: [UNIQUE]beaZone - GangZone Numbers & Borders [1.0] - by Adoniiz - 14.01.2013, 18:19
Re: [UNIQUE]beaZone - GangZone Numbers & Borders [1.0] - by beaz - 14.01.2013, 18:31
Re: [UNIQUE]beaZone - GangZone Numbers & Borders [1.0] - by TheArcher - 14.01.2013, 19:12
Re: [UNIQUE]beaZone - GangZone Numbers & Borders [1.0] - by DaRk_RaiN - 14.01.2013, 19:33
Re: [UNIQUE]beaZone - GangZone Numbers & Borders [1.0] - by Mr.Faqahat - 17.01.2013, 15:51
Re: [UNIQUE]beaZone - GangZone Numbers & Borders [1.0] - by kaisersouse - 17.01.2013, 16:28
Re: [UNIQUE]beaZone - GangZone Numbers & Borders [1.0] - by Edvin - 17.01.2013, 16:50
Re: [UNIQUE]beaZone - GangZone Numbers & Borders [1.0] - by IstuntmanI - 17.01.2013, 16:56
Re: [UNIQUE]beaZone - GangZone Numbers & Borders [1.0] - by Pasa - 17.01.2013, 17:04
Re: [UNIQUE]beaZone - GangZone Numbers & Borders [1.0] - by Sanady - 17.01.2013, 18:03
Re: [UNIQUE]beaZone - GangZone Numbers & Borders [1.0] - by wups - 17.01.2013, 19:43
Re: [UNIQUE]beaZone - GangZone Numbers & Borders [1.0] - by Sanady - 18.01.2013, 11:13
Re: [UNIQUE]beaZone - GangZone Numbers & Borders [1.0] - by beaz - 18.01.2013, 16:20
Re: [UNIQUE]beaZone - GangZone Numbers & Borders [1.0] - by Sanady - 18.01.2013, 17:27
Re: [UNIQUE]beaZone - GangZone Numbers & Borders [1.0] - by IstuntmanI - 18.01.2013, 19:50
Re: [UNIQUE]beaZone - GangZone Numbers & Borders [1.0] - by Sasino97 - 19.01.2013, 18:09
Re: [UNIQUE]beaZone - GangZone Numbers & Borders [1.0] - by DiGiTaL_AnGeL - 19.01.2013, 22:30
Re: [UNIQUE]beaZone - GangZone Numbers & Borders [1.0] - by [DOG]irinel1996 - 19.01.2013, 22:38
Re: [UNIQUE]beaZone - GangZone Numbers & Borders [1.0] - by Mr.Faqahat - 23.01.2013, 15:51
Re: [UNIQUE]beaZone - GangZone Numbers & Borders [1.0] - by Gortex - 23.01.2013, 16:08
Re: [UNIQUE]beaZone - GangZone Numbers & Borders [1.0] - by beaz - 29.01.2013, 13:37
Respuesta: [UNIQUE]beaZone - GangZone Numbers & Borders [1.0] - by oOFotherOo - 29.01.2013, 22:53
Re: [UNIQUE]beaZone - GangZone Numbers & Borders [1.0] - by Lordzy - 30.01.2013, 03:02
Re: [UNIQUE]beaZone - GangZone Numbers & Borders [1.0] - by Niko_boy - 30.01.2013, 05:02
Re: [UNIQUE]beaZone - GangZone Numbers & Borders [1.0] - by cotyzor - 24.06.2013, 14:37
Re: [UNIQUE]beaZone - GangZone Numbers & Borders [1.0] - by CreativityLacker - 24.06.2013, 15:02
Re: [UNIQUE]beaZone - GangZone Numbers & Borders [1.0] - by Excel™ - 24.06.2013, 15:34
Re: [UNIQUE]beaZone - GangZone Numbers & Borders [1.0] - by Raza2013 - 26.01.2014, 06:34
Re: [UNIQUE]beaZone - GangZone Numbers & Borders [1.0] - by Excel™ - 20.03.2014, 10:19

Forum Jump:


Users browsing this thread: 1 Guest(s)