Local System need
#9

Quote:
Originally Posted by xDeadlyBoy
Посмотреть сообщение
i don't get it...
use the IsPlayerInRangeOfPoint function in the command:
pawn Код:
if(!strcmp(cmdtext, "/local", true) || !strcmp(cmdtext, "/l", true))
{
if(!IsPlayerInRangeOfPoint(playerid, 40, x, y, z))return SendClientMessage(playerid, 0xFFFFFFAA, "You are not close enough.");
//rest of the command
return 1;
}
make sure you edit the xyz in the function.
Thanks
Reply


Messages In This Thread
Local System need - by y@sin1 - 16.03.2011, 20:52
Re: Local System need - by maramizo - 16.03.2011, 21:10
Re: Local System need - by y@sin1 - 17.03.2011, 07:33
Re: Local System need - by Medal Of Honor team - 17.03.2011, 08:27
Re: Local System need - by y@sin1 - 19.03.2011, 20:01
Re: Local System need - by xDeadlyBoy - 19.03.2011, 20:04
Re: Local System need - by Sascha - 19.03.2011, 20:12
Re: Local System need - by y@sin1 - 20.03.2011, 09:29
Re: Local System need - by y@sin1 - 20.03.2011, 09:31

Forum Jump:


Users browsing this thread: 1 Guest(s)