03.04.2011, 21:37
why this doesn't work :O?
pawn Код:
stock IsPlayerNearVehicle(playerid,vehicleid)
{
new Float:VX,Float:VY,Float:VZ;
GetVehiclePos(vehicleid,VX,VY,VZ);
if(IsPlayerInRangeOfPoint(playerid,1.0,VX,VY,VZ)) return 1;
else return 0;
}