How can i do this
#2

do it like:
Код:
new range[MAX_PLAYERS] = -1;
for(new v=0; v<MAX_VEHICLES; v++){
new Float:x, Float:y, Float:z;
GetVehiclePos(v, x, y, z);
if(IsPlayerInRangeOfPoint(playerid, 5.0, x, y, z)){
range[playerid] = v;
}
}
}
you need to add what should happen yourself:P
Reply


Messages In This Thread
How can i do this - by iTorran - 07.12.2010, 17:59
Re: How can i do this - by Sascha - 07.12.2010, 18:03

Forum Jump:


Users browsing this thread: 1 Guest(s)