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.

[Solved] Is it possible to set a call out to spawn at a specific location?

Featured Replies

Hello everyone. I am trying to develop my first plugin, but I was wondering through programming the addon is it possible to set set my call out to spawn on a specific street in the game? I am learning from ToastinYou's post at: 

And I notice they are showing us how to make a pursuit in progress call out specifically, but if I am reading the code correctly it is choosing the spawn point to be on any street within 300f of the players current street. As stated by the line of code below:

SpawnPoint = World.GetNextPositionOnStreet(Game.LocalPlayer.Character.Position.Around(300f));

Here is my question, under "Game" is their a way to call a specific street name or do I need to use co-ordinates? And if I do have to use co ordinates how do I get those co-ordinates from the game? You see I am trying to make a call out plugin that focuses around the Blaine County area and the first call out on my list is one that happens at a store. Any help would be gladly appreciated. In the meantime I will look through all that is available under "Game."

Edited by OfficerJohnnyShumway
Question has been solved.

  • Management Team

It is easiest to get coordinates, yes. In-game, drive to where  you want it to spawn and you can type in PrintInfo in the console to display coordinates.

Please do not PM me unless really necessary (knowing you helps). If you think you need my attention in a topic, tag me.

  • Author
4 hours ago, LMS said:

It is easiest to get coordinates, yes. In-game, drive to where  you want it to spawn and you can type in PrintInfo in the console to display coordinates.

OMG Thank you so much!

  • 3 years later...

Is it possible without getting more coordinates to spawn a ped within 30 feet of the "spawnpoint"?  For example my main spawn point is set by my suspect vehicle, however I would like a caller to spawn 30 feet away based on those original coordinates.

On 5/18/2024 at 2:51 AM, justintdavis99 said:

Is it possible without getting more coordinates to spawn a ped within 30 feet of the "spawnpoint"?  For example my main spawn point is set by my suspect vehicle, however I would like a caller to spawn 30 feet away based on those original coordinates.

You can probably get away with doing Vehicle.Position.Around(minFloat, maxFloat). Perhaps that works for you!

 

Prefer support on Discord? Want your log automatically read? Join my server to receive live support!

https://discord.gg/SJfxcAhjCF

 

Developer of Callout Pack 686 Callouts & Discord Bot 686 Utilities.

 

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

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.