10.08.2011, 21:05
Should be as simple as this shouldn't it?
Код:
stock IsPlayerNearVehicle(playerid, vehicleid, Float:range) { new Float:x, Float:y, Float:z; GetVehiclePos(vehicleid, x, y, z); if(IsPlayerInRangeOfPoint(playerid, range, x, y, z)) { return 1; } return 0; }