26.09.2013, 16:52
Quote:
First of all, could you tell us which is the exact line of that error, second of all, why did you put return target which is defined to -1? Return should be 0 (False) or 1 (True).
|
GetClosestCar
It gets the closest car from a player. It returns the vehicleid, or if vehicles do not exist in the server, it returns -1.
@damian123: By the way, the distance should be less not greater.