14.11.2011, 22:45
Hello.
how do i make these zones flash for the team when a non team member enter the zone?
And yes, i have tried before ask.
I know need to use this (on isPlayerInArea?), but im not sure how to code it proper
how do i make these zones flash for the team when a non team member enter the zone?
And yes, i have tried before ask.
pawn Код:
new Text:Zones[MAX_PLAYERS];
public OnGameModeInit()
{
//=====================================ZONES==================================================//
ZoneThunderbirds = GangZoneCreate(-2907.791, -1027.653, -607.2495, 1646.58);
ZoneBackup = GangZoneCreate(-2907.791, -1027.653, -607.2495, 1646.58);
ZoneAirwolves = GangZoneCreate(817.4513, 607.2495, 2931.147, 2896.113);
ZoneBluefoxes = GangZoneCreate(81.74512, -2931.147, 2977.858, -840.807);
//===================================END ZONES===============================================//
return 1;
}
public OnPlayerSpawn(playerid)
{
GangZoneShowForPlayer(playerid, ZoneThunderbirds, 0xFFFF0015);
GangZoneShowForPlayer(playerid, ZoneBackup, 0xFFFF0015);
GangZoneShowForPlayer(playerid, ZoneAirwolves, 0x00000060);
GangZoneShowForPlayer(playerid, ZoneBluefoxes, 0x0000FF27);
pawn Код:
GangZoneFlashForPlayer(playerid,gangzone,COLOR_RED);