Problem
#6

Код:
for(new i = 0; i<sizeof(Coords); i++)
{
      if(IsPlayerInRangeOfPoint(playerid, range, Coords[i][XXX], Coords[i][YYY], Coords[i][ZZZ]))
      {
            // so the if statement check if you are standing near these coords. 
            // here you can insert any action
            break;
      }
}
the question is how you want to check it?

Check when someone enter a command?
Check when someone gets close to these coords?
Reply


Messages In This Thread
Problem - by KinderClans - 15.09.2018, 18:37
Re: Problem - by Burridge - 15.09.2018, 18:38
Re: Problem - by Kasichok - 15.09.2018, 18:44
Re: Problem - by KinderClans - 15.09.2018, 18:46
Re: Problem - by Kasichok - 15.09.2018, 18:47
Re: Problem - by spinu - 15.09.2018, 18:48
Re: Problem - by KinderClans - 15.09.2018, 18:57
Re: Problem - by Burridge - 15.09.2018, 19:06
Re: Problem - by KinderClans - 15.09.2018, 19:21
Re: Problem - by Burridge - 15.09.2018, 19:27

Forum Jump:


Users browsing this thread: 1 Guest(s)