31.03.2009, 03:51
Try something like this
pawn Код:
new players_in_checkpoint;
public OnPlayerEnterCheckpoint(playerid)
{
GameTextForPlayer(playerid,"~R~You have reached the control centre",4000,3);
SendClientMessageToAll(COLOR_RED,"One of the Attackers has Reached The Control Centre");
GivePlayerMoney(playerid, 0);
DisablePlayerCheckpoint(playerid);
if (++players_in_checkpoint == 5)
//there are 5 players in checkpoint, do your next action
return 1;
}