(HELP) Chracter is too far away
#6

pawn Код:
new Float:Position[3];

GetPlayerPos(PersonWhoYourTooFarAwayFrom, Position[0], Position[1], Position[2]);

if(!IsPlayerinRangeOfPoint(playerid, 30, Position[0], Position[1], Position[2])) return SendClientMessage(playerid, -1, "You're too far away!");
else
{
//your code
}
Is that what you're looking for?
Reply


Messages In This Thread
(HELP) Chracter is too far away - by spaty2 - 14.07.2011, 19:48
Re: (HELP) Chracter is too far away - by [MG]Dimi - 14.07.2011, 19:49
Re: (HELP) Chracter is too far away - by Flyfishes - 14.07.2011, 19:51
Re: (HELP) Chracter is too far away - by Toreno - 14.07.2011, 20:02
Re: (HELP) Chracter is too far away - by spaty2 - 14.07.2011, 21:37
Re: (HELP) Chracter is too far away - by Skylar Paul - 14.07.2011, 21:42
Re: (HELP) Chracter is too far away - by spaty2 - 14.07.2011, 22:04

Forum Jump:


Users browsing this thread: 1 Guest(s)