Help me
#2

Do you mean you can do the command only in the pickup? If so use,
https://sampwiki.blast.hk/wiki/IsPlayerInRangeOfPoint

Код:
CMD:pickuphere(playerid, params[])
{
	if(IsPlayerInRangeOfPoint(playerid, 2, 1794.5530,-1899.8702,13.4000)) // Pickup coordinates here
	{
                //The command
        }
        else
        {
              SendClientMessage(playerid, COLOR, "You are not in the pickup");
        }
        return true;
}
A small example
Reply


Messages In This Thread
Help me - by Configuration - 30.06.2013, 10:44
Re: Help me - by WooTFTW - 30.06.2013, 11:14
Re: Help me - by ScRipTeRi - 30.06.2013, 12:18

Forum Jump:


Users browsing this thread: 1 Guest(s)