Gangzones
#3

Here:

Код:
#include <a_samp>
new gangzone1;
new gangzone2;
new gangzone3;
new gangzone4;
Then:

Код:
public OnGameModeInit()
{
   gangzone1 = GangZoneCreate(2032.4720,1353.5490,2032.4720+10.0,1343.5490+10.0);
   gangzone2 = GangZoneCreate(2032.3799,1343.4668,2032.3799+10.0,1343.4668+10.0);
   gangzone3 = GangZoneCreate(2037.0071,1343.5375,2037.0071+10.0.0,1343.5475+10.0);
   gangzone4 = GangZoneCreate(2037.1610,1353.3401,2037.1610+10.0,1353.3401+10.0);
   return 1;
}
+10.0 = a little float.You can modifly it.

And:

Код:
public OnPlayerSpawn(playerid)
{
   GangZoneShowForAll(gangzone1,yourcolor);
   GangZoneShowForAll(gangzone2,yourcolor);
   GangZoneShowForAll(gangzone3,yourcolor);
   GangZoneShowForAll(gangzone4,yourcolor);
   return 1;
}
yourcolor = insert what color you want
Reply


Messages In This Thread
Gangzones - by stanLeys - 02.04.2010, 13:12
Re: Gangzones - by stanLeys - 02.04.2010, 13:27
Re: Gangzones - by Iuri - 02.04.2010, 13:38
Re: Gangzones - by stanLeys - 02.04.2010, 14:00
Re: Gangzones - by Saorp - 03.04.2010, 18:06

Forum Jump:


Users browsing this thread: 1 Guest(s)