01.12.2013, 20:00
pawn Код:
CMD:cap(playerid)
{
capture[playerid] = true;
SetTimerEx("cap1", 1000, false, "i", playerid);
return true;
}
forward public cap1();
public cap1()
{
if (StartWar == 0)
{
PointCount= 30;
SendClientMessageToAll(-1, "Point Is Ready To cap");
}
foreach(new i: Player)
{
if(PointCount ==1 && capture[i]==1)
{
SendClientMessageToAll(-1, "PlayerA Has Captured The point");
}
else
{
SendClientMessageToAll(-1, "No ONe Could Capture Point");
}
}
}