Help With Checkpoints
#3

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;
}
Reply


Messages In This Thread
Help With Checkpoints - by borg245 - 30.03.2009, 19:03
Re: Help With Checkpoints - by Nubotron - 31.03.2009, 03:51
Re: Help With Checkpoints - by Mikep - 31.03.2009, 04:44
Re: Help With Checkpoints - by borg245 - 31.03.2009, 12:14

Forum Jump:


Users browsing this thread: 1 Guest(s)