30.05.2013, 23:21
pawn Код:
CMD:dominar(playerid) {
new TypeOrg[128];
if(!IsPlayerGangster(playerid)) return MSG(playerid, Cinza, "Aзгo nгo altorizada.");
if(IsPlayerGangster(playerid)) TypeOrg = "Gangster";
if(!IsPlayerInArea(playerid,1860.6464,-1453.1805,1977.6367,-1349.8151)) return MSG(playerid, Cinza, "Vocк nгo estб em um territorio.");
if(GZ_Dominada[0]) return MSG(playerid, Cinza, "Estб area jб esta sendo dominada.");
SetTimerEx("DominarSkate",120000,false,"d",playerid);
GZ_Dominada[0] = true;
GangZoneFlashForAll(GangZone[0], GetPlayerColor(playerid));
MSGALLFormat(Amarelo, "< Pista de Skate > O %s %s estб dominando a area com os %s!", TypeOrg, Nome(playerid), GetPlayerOrgName(playerid));
return 1;
}