Message when you get a place
#6

Quote:
Originally Posted by VonLeeuwen
Or, you could use IsPlayerInRangeOfPoint, in combination with a timer.

Quick example:
pawn Code:
forward InArea(playerid); // on top

SetTimer("AreaCheck", 1000, true); // at 'onplayerspawn'

//new callback
public InArea
{
if(IsPlayerInRangeOfPoint(playerid, 15, x , y , z) // add your own X Y Z, and you can change 15 into something else.
{
 SendClientMessage(playerid,0xFF0000AA,"You are now in range.");
}
return 1;
}
One of the most stupidity codes I have ever seen.
Reply


Messages In This Thread
Message when you get a place - by [BEP]AcerPilot - 23.02.2010, 01:53
Re: Message when you get a place - by Flake. - 23.02.2010, 05:49
Re: Message when you get a place - by VonLeeuwen - 23.02.2010, 08:15
Re: Message when you get a place - by bajskorv123 - 23.02.2010, 08:47
Re: Message when you get a place - by VonLeeuwen - 23.02.2010, 08:51
Re: Message when you get a place - by MenaceX^ - 23.02.2010, 08:54
Re: Message when you get a place - by WackoX - 23.02.2010, 08:57
Re: Message when you get a place - by VonLeeuwen - 23.02.2010, 08:59
Re: Message when you get a place - by [BEP]AcerPilot - 23.02.2010, 13:23
Re: Message when you get a place - by VonLeeuwen - 23.02.2010, 13:27
Re: Message when you get a place - by [BEP]AcerPilot - 23.02.2010, 13:32
Re: Message when you get a place - by [BEP]AcerPilot - 25.02.2010, 02:52
Re: Message when you get a place - by VonLeeuwen - 25.02.2010, 07:59
Re: Message when you get a place - by [BEP]AcerPilot - 26.02.2010, 01:36
Re: Message when you get a place - by VonLeeuwen - 26.02.2010, 07:26

Forum Jump:


Users browsing this thread: 2 Guest(s)