Help with IfIsPlayerInRangeOfPoint - 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 with IfIsPlayerInRangeOfPoint (
/showthread.php?tid=488818)
Help with IfIsPlayerInRangeOfPoint -
denmark - 19.01.2014
Hey guys!
So.. When player writes /work
Код:
CMD:work(playerid, params[])
if(GetPlayerTeam(playerid) == TEAM_TRUCKERS)
{
T_NewJob(playerid);
}
I want to check if player is closest to case 0,1,2,3,4 etc.. How to do that?
If player is closest to case 0, it should ofc chose case 0, etc.
Help please?
Re: Help with IfIsPlayerInRangeOfPoint -
Jimmy0wns - 19.01.2014
This would require you to change some of the script, i managed to do it, just contact me with PM and from there i'll help you out.