31.03.2009, 04:44
pawn Код:
new CheckpointVisitors;
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);
CheckpointVisitors++;
if(CheckpointVisitors == 5)
{
//Do what you wan't
}
return 1;
}