Help me - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Help me (
/showthread.php?tid=447491)
Help me -
Configuration - 30.06.2013
hello guys, if player pick one pick up and i do commnd /picked tell me who have picked it can make this?
Re: Help me -
WooTFTW - 30.06.2013
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
Re: Help me -
ScRipTeRi - 30.06.2013
its not this what i want but anyway thanks