OnPlayerUpdate SendClientMessage GameTextForPlayer
#5

i used seifs thing but i cant make it work:

Код:
  AREA_lift=AddAreaCheck(-2455.066894, -2475.107421, 1530.183959, 1518.064697);
Код:
OnPlayerEnterArea(playerid,areaid) {
  if (areaid==AREA_lift)
  {
  SendClientMessage(playerid, 0x99FF66AA, "Use /lift to bring the lift up and /lift to take it back down");
  GameTextForPlayer(playerid, "/lift to bring the lift up and /lift to take it back down", 5000, 5);
  }
  return 1;
}

OnPlayerLeaveArea(playerid,areaid) {
  if (areaid==AREA_lift)
  {
  SendClientMessage(playerid, 0x99FF66AA, "Thanks for using the lift!");
  GameTextForPlayer(playerid, "Thanks for using the lift!", 5000, 5);
  }
  return 1;
}
Reply


Messages In This Thread
OnPlayerUpdate SendClientMessage GameTextForPlayer - by cozza123456 - 23.03.2010, 19:06
Re: OnPlayerUpdate SendClientMessage GameTextForPlayer - by cozza123456 - 23.03.2010, 19:26
Re: OnPlayerUpdate SendClientMessage GameTextForPlayer - by Correlli - 23.03.2010, 19:33
Re: OnPlayerUpdate SendClientMessage GameTextForPlayer - by Niixie - 23.03.2010, 20:11
Re: OnPlayerUpdate SendClientMessage GameTextForPlayer - by cozza123456 - 23.03.2010, 20:46
Re: OnPlayerUpdate SendClientMessage GameTextForPlayer - by cozza123456 - 24.03.2010, 16:27

Forum Jump:


Users browsing this thread: 2 Guest(s)