19.12.2010, 18:43
(
Последний раз редактировалось Xapita_Halls; 19.12.2010 в 20:17.
)
pessoal fiz a gz mais nao termina de dominar =/
pawn Код:
public GuerraPier(playerid)
{
new string[256];
new playername[MAX_PLAYER_NAME];
if(PlayerInfo[playerid][pMembro] == 15 || PlayerInfo[playerid][pLider] == 15)
{
if(ProvocoShop[playerid] == 1)
{
if(IsPlayerInPier(playerid))
{
GetPlayerName(playerid, playername, MAX_PLAYER_NAME);
format(string, sizeof(string), "%s e a Groove Street Dominaram o Pier!",playername);
SendClientMessageToAll(TEAM_GROVE_COLOR, string);
SendClientMessage(playerid, COLOR_GRAD5, "Vocк dominou o pier, a cada 3 minutos nele ganhara grana.");
GangZoneStopFlashForAll(GZShop);
GangZoneShowForAll(GZShop,TEAM_GROVE_COLOR);
Dominando[playerid] = 0;
ProvocoShop[playerid] = 0;
GuerranoShop = 0;
donoshop = 1;
KillTimer(TempoGuerraShop);
return 1;
}
else
{
SendClientMessage(playerid, TEAM_GROVE_COLOR, "Vocк nгo estб no pier.");
Dominando[playerid] = 0;
GangZoneStopFlashForAll(GZShop);
GangZoneShowForAll(GZShop, 0xFFFFFF96);
ProvocoPier[playerid] = 0;
GuerranoPier = 0;
donopier = 0;
KillTimer(TempoGuerraShop);
return 1;
}
}
}
return 1;
}