This script causes waypoints to not be shared between players in a vehicle. It is because of this line in client.lua
SetRelationshipBetweenGroups(2, GetHashKey('PLAYER'), GetHashKey('PLAYER'))
Setting it to SetRelationshipBetweenGroups(1, GetHashKey('PLAYER'), GetHashKey('PLAYER'))
Fixes the issue.