03.02.2015, 17:31
Get the coordinates of the vehicle, and check if the player is in a certain range with IsPlayerInRangeOfPoint, if he's too far away, then use GetPlayerPos, and use SetPlayerPos to his own position, which will make him stop.
EDIT: Just saw your new post, there's an include or something against that, i can't find it again though.
EDIT: Just saw your new post, there's an include or something against that, i can't find it again though.