07.04.2009, 20:06
Код:
new TEAM_GROVE_GANGZONE; new TEAM_BALLAS_GANGZONE; new TEAM_VAGOS_GANGZONE; new TEAM_ARMY_GANGZONE; public OnGameModeInIt() TEAM_GROVE_GANGZONE = GangZoneCreate(2113.53, -1764.764, 2512.828, -1504.214); // Grove gang zone TEAM_BALLAS_GANGZONE = GangZoneCreate(1706.627, -1946.361, 1999.445, -1468.684); // Ballas gang zone TEAM_VAGOS_GANGZONE = GangZoneCreate(2246.63, -1508.161, 2607.899, -1239.715); // Vagos gang zone TEAM_ARMY_GANGZONE = GangZoneCreate(2425.363, -2601.686, 2828.463, -2329.292); // Arrmy gang zone public OnPlayerSpawn(playerid) { SetPlayerToTeamColor(playerid); GangZoneShowForPlayer(playerid, TEAM_GROVE_GANGZONE, 0x00FF0096); // Grove GangZoneShowForPlayer(playerid, TEAM_BALLAS_GANGZONE, 0xFF00FF96); // Ballas GangZoneShowForPlayer(playerid, TEAM_VAGOS_GANGZONE, 0xFFFF0096); // Vagos GangZoneShowForPlayer(playerid, TEAM_ARMY_GANGZONE, 0xFF000096); // Army return 1; }