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.

Can somebody help me with SpawnHelper?

Featured Replies

I recently came in to making callouts, and i searched a lot, how to use the spawnhelper, but i found nothing. Can somebody help me how to use it? I want to make a callout where i put all the Alleys(vector3s) and put some Homeless guys there and when the callout is running it will select the closest one and it will make a blip with a route. I know everything to do this callout but only the spawnhelper thing! Thanks in advance! SpawnHelper that i use: 

Spoiler

using Rage;

namespace FakeCallouts.Cuccok
{
    internal class SpawnHelper
    {
        public float heading;
        public string area;
        public string street;
        public Vector3 location;
        public Rotator rotation;

        public SpawnHelper(Vector3 location, float heading, string area, string street)
        {
            this.location = location;
            this.heading = heading;
            this.area = area;
            this.street = street;
        }

        public SpawnHelper(Vector3 location, float heading)
        {
            this.location = location;
            this.heading = heading;
        }

        public SpawnHelper(Vector3 location, Rotator rotation)
        {
            this.location = location;
            this.rotation = rotation;
        }
    }
}
 

 

SzbZsmbr

  • Management Team

The SpawnHelper class you have there just stores the location and the heading of for a position. You probably need some other code to actually save a position as a SpawnHelper object and then dump it to code or file.

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

  • Management Team
On 8/26/2019 at 3:05 PM, SzbZsmbr said:

@LMS then what code should i get?

 

 

I have never used SpawnHelper and I am not sure where you got it from, so I cannot help with that. But you are definitely missing some glue to make it work.

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

  • 4 weeks later...

You first need to get the spawnhelper class

 

I recommend watching this as this explains how to set up the spawnhelper in general and some other wrappers. Then i recommend watching part two just to get a gist of how spawnhelper works. If you still need help after that go ahead and PM me as i use spawnhelper quite often

Mb just read this back and realised that you already have the class. I recommend still watching this:

As this will teach you how to set up the second part of the spawnhelper. After that like i said, if you cant work it out, dm me.

Edited by Ben79G

Playing BattleBorn Roleplay! Great community, active server and staff! Hiring LEOs + EMS + Staff! Discord.gg//pz3teSD

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.