Hiding Posted September 8, 2023 Share Posted September 8, 2023 (edited) Hello, I know that in race resource there is a function called showBlipsAttachedTo(elem, bShow) from util_server.lua, and I was wondering how can I use it on client side like this? So my main goal here is to set the specific player's blip to invisible addEventHandler("setPlayerVisibility", root, function(player) local vehicle = getPedOccupiedVehicle(player) local cameraTarget = getCameraTarget() if vehicle then if cameraTarget == vehicle then ... else exports.race:showBlipsAttachedTo(vehicle, false) end end end) Edited September 8, 2023 by Hiding Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now