[Ajuda] IsPlayerInRangeOfPoint
#6

Quote:
Originally Posted by DiegoLeo
Посмотреть сообщение
Код:
CMD:comando(playerid)
{
    new Float:x1, Float:y1, Float:z1;
    GetPlayerPos(playerid, x1, y1, z1);
    for(new i; i < MAX_PLAYERS; i++)
    {
       	if(i != playerid)
       	{
      		if(GetPlayerOrg(i) == GetPlayerOrg(playerid) && IsPlayerInRangeOfPoint(i, 10 , x1, y1, z1))
   		{
             	      //funзхes que acontece
        	}
        	else
     		{
                         //o que aconte se nгo tiver alguem da org perto
        	}
          }
     }
    return 1;
}
Tenta agora, aqui nгo deu erro
Bugou tudo, na parte '//o que aconte se nгo tiver alguem da org perto' flooda no chat aquiw, e nгo funcionou, nгo sei pq..
Reply


Messages In This Thread
IsPlayerInRangeOfPoint - by SukMathcuck - 18.01.2015, 13:02
Re: IsPlayerInRangeOfPoint - by DiegoLeo - 18.01.2015, 13:15
Re: IsPlayerInRangeOfPoint - by SukMathcuck - 18.01.2015, 14:02
Re: IsPlayerInRangeOfPoint - by DiegoLeo - 18.01.2015, 14:07
Re: IsPlayerInRangeOfPoint - by Rodney Francalim - 18.01.2015, 14:42
Re: IsPlayerInRangeOfPoint - by SukMathcuck - 18.01.2015, 15:24
Re: IsPlayerInRangeOfPoint - by MultiKill - 18.01.2015, 15:39
Re: IsPlayerInRangeOfPoint - by SukMathcuck - 18.01.2015, 15:48
Re: IsPlayerInRangeOfPoint - by MultiKill - 18.01.2015, 15:56

Forum Jump:


Users browsing this thread: 1 Guest(s)