24.01.2010, 09:36
pawn Код:
public Conquersystem(playerid)
{
if((CONQUERED_BASE_PD==0)||(CONQUERED_BASE_PD==2))
{
CONQUERED_BASE_PD = 1;
SendClientMessageToAll(COLOR_RED,"TEAM BLUE has conquered the PD!");
for(new i; i < MAX_PLAYERS; i++)
{
SetPlayerMapIcon(i, 1,326.3,-35.2,3.3, 30, 0);
RemovePlayerMapIcon(i, 2);
}
PercentConquered[playerid] = 0;
}
}