27.02.2013, 14:04
PHP код:
Llamada GuerranoAero(playerid)
{
new string[128];
new playername[MAX_PLAYER_NAME];
if(PlayerInfo[playerid][pMembro] == 23 || PlayerInfo[playerid][pLider] == 23)
{
if(ProvocoAero[playerid] == 1)
{
if(IsPlayerInAero(playerid))
{
GetPlayerName(playerid, playername, MAX_PLAYER_NAME);
format(string, sizeof(string), "%s e o Mid NighT Club Dominaram o Aero!",playername);
SendClientMessageToAll(COR_MID, string);
SendClientMessage(playerid, COLOR_GRAD5, "Vocк dominou o casarгo, a cada 3 minutos nela ganharб grana.");
GangZoneStopFlashForAll(GZAero);
GangZoneShowForAll(GZAero,COR_MID);
Dominando[playerid] = 0;
ProvocoAero[playerid] = 0;
donoAero = 1;
KillTimer(TempoGuerraAero);
}
else
{
SendClientMessage(playerid, COR_MID, "Vocк nгo estб no Aero.");
Dominando[playerid] = 0;
GangZoneStopFlashForAll(GZAero);
GangZoneShowForAll(GZAero, 0xFFFFFF96);
ProvocoAero[playerid] = 0;
donoAero = 0;
KillTimer(TempoGuerraAero);
}
}
}
return 1;
}