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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    No registered users viewing this page.