Skip to content
View in the app

A better way to browse. Learn more.

LCPDFR.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

How to set callout/pursuit in a certain area?

Featured Replies

I have been learning c# for the past month and now I just finally wanted to create a callout.

my question is how to I set a callout/pursuit in a certain area in Los Santos?

all I know is that you can start a callout with: SpawnPoint = World.GetNextPositionOnStreet(Game.LocalPlayer.Character.Position.Around(500f));

am wondering how to make it start from a place like The Golf Club or that the callout can only be triggered in a place like Sandy Shores?

Thanks for any help.

ok I found something but I haven't really foudn a way to use it:

<ArrayOfExtendedSpawnPoint xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <ExtendedSpawnPoint>
    <Position>
      <X>1676.51831</X>
      <Y>-72.88559</Y>
      <Z>173.299454</Z>
    </Position>
    <Heading>290.283539</Heading>
    <Area>LDAM</Area>
    <Street>Mirror Park Blvd</Street>
    <Tags />
  </ExtendedSpawnPoint>

 

found this from @Darkmyre's api xml

was woundering if you could explain me how to use it, was thinking something like intitializing a .ini file but I am still searching around.

 

Edited by NoNameSet

thanks, I read you tutorial on how to create a callout and it was very helpful,

will I have to set :

Vector3 sP = new Vector3(x, y, z);

in the lines of: 

public override bool OnBeforeCalloutDisplayed()

 

will I also have to create a new:

private Vector3 sP

?

36 minutes ago, NoNameSet said:

thanks, I read you tutorial on how to create a callout and it was very helpful,

will I have to set :


Vector3 sP = new Vector3(x, y, z);

in the lines of: 


public override bool OnBeforeCalloutDisplayed()

 

will I also have to create a new:


private Vector3 sP

?

I suggest that you learn some more C#.

2 hours ago, ToastinYou said:

I suggest that you learn some more C#.

yeah, I looked at those steps 1-12 from that one c# learning page, guess I'm gonna continue.

6 hours ago, ToastinYou said:

Well the three objects you asked me about are super basic materials and you should know what they do.

Yeah, as said I am new to c# but I will continue learning.

@ToastinYou k, am back. finally know how to use it lol.

@ToastinYou Would you know how to make a ped follow another ped to a certain location?

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

Similar Content

Recently Browsing 0

  • No registered users viewing this page.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.