15.05.2013, 11:33
hi , i made a capture zones , and i got no errors , but when i enter the game i can't see the gang zone only the dynamic checkpoint,
here is my code
here is my code
pawn Код:
OnPlayerSpawn, and i try it onplayerconnect and not worked
if(tCheck[BigEar] == -1) return GangZoneShowForPlayer(playerid,Zone[BigEar],0xFFFFFFAA);
else if(tCheck[BigEar] == TEAM_MADTH) return GangZoneShowForPlayer(playerid,Zone[BigEar],0x008040FF);
else if(tCheck[BigEar] == TEAM_ARABIA) return GangZoneShowForPlayer(playerid,Zone[BigEar],COLOR_YELLOW);
else if(tCheck[BigEar] == TEAM_RUSSIA) return GangZoneShowForPlayer(playerid,Zone[BigEar],0x4014D190);
else if(tCheck[BigEar] == TEAM_USA) return GangZoneShowForPlayer(playerid,Zone[BigEar],COLOR_LIGHTGREEN);
else if(tCheck[BigEar] == TEAM_GERMAN) return GangZoneShowForPlayer(playerid,Zone[BigEar],COLOR_BRIGHTRED);
else if(tCheck[BigEar] == TEAM_CHINA) return GangZoneShowForPlayer(playerid,Zone[BigEar],COLOR_BROWNLIGHT);
else if(tCheck[BigEar] == TEAM_BRAZIL) return GangZoneShowForPlayer(playerid,Zone[BigEar],0xFF808041);
else if(tCheck[BigEar] == TEAM_UNITED) return GangZoneShowForPlayer(playerid,Zone[BigEar],0xFFFFFFFF);
else if(tCheck[BigEar] == TEAM_JAPAN) return GangZoneShowForPlayer(playerid,Zone[BigEar],0x80800085);
else if(tCheck[BigEar] == TEAM_NETHERLANDS) return GangZoneShowForPlayer(playerid,Zone[BigEar],0x10DCAEA5);