Vlw pela luz pessoal consegui resolver da forma que voces estгo dizendo, eu tava querendo colocar um comando que funcionasse em vбrios pickups entгo eu fiz assim: peguei as coordenadas de todos eles:
PHP код:
new Float:PickupPos[][]={
{613.267028,872.466430,-42.960937},
{611.783752,873.539733,-42.960937},
{609.429382,874.366577,-42.960937},
{607.489074,874.560668,-42.960937},
{605.393188,874.195922,-42.960937},
{603.198425,873.566223,-42.960937},
{601.598815,872.443603,-42.960937},
{601.281616,869.627197,-42.960937},
{601.709533,865.979919,-42.960937},
{601.117553,864.153869,-42.960937},
{602.290283,862.437988,-42.960937},
{603.990478,861.680480,-42.960937},
{605.336425,861.154357,-42.960937},
{606.909423,860.850097,-42.960937},
{608.988647,860.896850,-42.960937}
};
E no comando eu coloquei:
PHP код:
for(new p = 0; p < MAX_PICKUPS; ++p)
{
if(IsPlayerInRangeOfPoint(playerid, 2.0, PickupPos[p][0], PickupPos[p][1],PickupPos[p][2])
{
//ETC
E ta funcionando certinho