14.10.2009, 15:26
Quote:
Originally Posted by Jakku
Use GangZoneShowForPlayer, not GangZoneShowForAll
|
What im thinking is put a code like this
Code:
public OnPlayerSpawn(playerid){ if(gTeam[playerid] == TEAM_TRABAJADORES) { if(Zonetrabajtaken[playerid] == 0) return GangZoneShowForPlayer(playerid,Trabajadores,COLOR_GREEN); return 1;}
Code:
if (pickupid == zonatrabaj && gTeam[playerid] == TEAM_TRABAJADORES){ GangZoneShowForAll(Trabajadores,COLOR_GREEN); Zonetrabajtaken[playerid] == 0 } if (pickupid == zonatrabaj && gTeam[playerid] == TEAM_EMPRESARIOS){ GangZoneShowForAll(Trabajadores,COLOR_PURPLE); Zonetrabajtaken[playerid] == 1 }
I don't know what you guys suggest