help?
#2

I have changed your script quite a bit, but this is what i use and it works.

pawn Код:
stock CheckPlayerDistanceToVehicle(Float:rad, playerid, vehicleid)
{
    new Float:vx, Float:vy, Float:vz;
    GetVehiclePos(vehicleid, vx, vy, vz);
    if(IsPlayerInRangeOfPoint(playerid, rad, vx, vy, vz)) return 1;
    return 0;
}
Reply


Messages In This Thread
help? - by Black_Sun1 - 14.02.2011, 20:07
Re: help? - by Ash. - 14.02.2011, 20:10
Re: help? - by Black_Sun1 - 14.02.2011, 20:37
Re: help? - by Black_Sun1 - 15.02.2011, 17:50
Re: help? - by Ash. - 15.02.2011, 17:59
Re: help? - by Black_Sun1 - 15.02.2011, 18:40
Re: help? - by Ash. - 15.02.2011, 18:46
Re: help? - by Black_Sun1 - 15.02.2011, 19:11
Re: help? - by Black_Sun1 - 15.02.2011, 19:45
Re: help? - by Black_Sun1 - 16.02.2011, 16:19

Forum Jump:


Users browsing this thread: 1 Guest(s)