26.01.2011, 17:38
Код:
public IsVehicleInRadius(playerid)
{
for(new c=0;c<MAX_VEHICLES;c++)
{
new Float:x, Float:y, Float:z;
GetVehiclePos(c,x,y,z);
if(5.0, playerid, x, y, z)
{
return 1;
}
else
{
SendClientMessage(playerid, COLOR_YELLOW, "You're not at your car!");
return 1;
}
}
return 1;
}

