Error using blip.routeFor

Recommended Posts

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;'marcarGPS', (player, posicion) =>

	blips[] =, posicion);
	blips[].name =;
	blips[].dimension = player.dimension;
	blips[].colour = BlipColor;
	blips[].routeFor(player, 2, 1);


Thnx for the help!

Share this post

Link to post
Share on other sites
5 minutes ago, MrPancakers said:

routeFor is a serverside function and not a clientside one

Is there any clientside function? 

Share this post

Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.