Jump to content

Setting GPS target with Scripthook (C#)


Recommended Posts

Hello everyone,

First of sorry if there is a dedicated board to write Scripthook questions in I couldn't find one so this seemed the most suitable. Anyway I'm currently working on a script mod for GTA IV using C# and I can't figure out how to get a GPS waypoint? I have a Vector 3 and a blip but I just want the GPS to automatically target it, how can I do this?

Thanks

Link to comment
Share on other sites

  • 3 years later...
On 8/14/2015 at 2:19 AM, ObsidianGames said:

Don't worry managed to figure it out and if anyone finds this thread on Google here is how I did it.


pedMarker.Display = BlipDisplay.ArrowAndMap;
pedMarker.RouteActive = true;

(With pedMarker being my Blip variable)

 

I wants the this mod 🙂 (sorry my bad/worst english)

Edited by SuperXlarge9
Link to comment
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.

Guest
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.



×
×
  • Create New...