Ayuda, distancia entre...
#5

lo solucione asi, esta bien o no?...

pawn Код:
stock DistanceBetweenObjectAndPlayer(playerid, Float:dist){
new Float:pos[3];
for(new slots=0,idx=MAX_SLOTS;slots!=idx;slots++){
    GetObjectPos(VariableObjeto[slots], pos[0], pos[1], pos[2]);
    if(IsPlayerInRangeOfPoint(playerid, dist, pos[0], pos[1], pos[2]))return true;
}return false;}
Reply


Messages In This Thread
Ayuda, distancia entre... - by OTACON - 21.12.2013, 08:39
Re: Ayuda, distancia entre... - by Miguel - 21.12.2013, 16:56
Respuesta: Ayuda, distancia entre... - by JustBored - 21.12.2013, 17:15
Respuesta: Ayuda, distancia entre... - by bm0z - 21.12.2013, 17:21
Respuesta: Ayuda, distancia entre... - by OTACON - 21.12.2013, 21:52

Forum Jump:


Users browsing this thread: 2 Guest(s)