cristianmec Posted May 8, 2019 Posted May 8, 2019 Hello, i am coding the EMS System for a RP server, and now i need to create a client-side BLIP and create a route on the map. i can create the correct blip that i wanyt but cant create the GPS route, because it gives me this error: And this is my code: var blips = {}; const BlipIcon = 1; const BlipColor = 1; mp.events.add('marcarGPS', (player, posicion) => { blips[player.id] = mp.blips.new(BlipIcon, posicion); blips[player.id].name = player.name; blips[player.id].dimension = player.dimension; blips[player.id].colour = BlipColor; blips[player.id].routeFor(player, 2, 1); }); Thnx for the help!
MrPancakers Posted May 9, 2019 Posted May 9, 2019 routeFor is a serverside function and not a clientside one
cristianmec Posted May 9, 2019 Author Posted May 9, 2019 5 minutes ago, MrPancakers said: routeFor is a serverside function and not a clientside one Is there any clientside function?
Hanvod Posted May 11, 2019 Posted May 11, 2019 В 09.05.2019 в 03:59, cristianmec сказал: Is there any clientside function? https://wiki.rage.mp/index.php?title=Blip::setRoute probably 1
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