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.

Help With creating a callout

Featured Replies

Hello everyone. I was wondering if someone would be kind enough to help me out. I got interested in creating a custom callouts for myself, and ultimately to share on LSPDFR site. So i looked some tutorials, and tried, but everything seems bit outdated and i come across some problems. I tried to find already made example code to put inside callout pack and test it, but even on the coding a "GivenewWeapon" doesnt exist for example. And other callout i tried to make (simple pursuit) i didnt have success in loading. So i was wondering if anyone active in development of callouts could give me a hand 🙂 ty all in advance.
(examples of what i would like to make as callouts: Riots and protests, vandalism on the streets, etc. )

Update:
I see that plugin has loaded, but cant trigger callout, like it doesnt exist, and hopefuly fixed "GiveNewWeapon" problem.

 

Edited by Rik7734
Made some progress

The callout tutorial from the stickies is fine:

Is that the one you have used?
Another brilliant resource is Albo's gitHub repository where he shows source code for a lot of callouts:
https://github.com/Albo1125/Assorted-Callouts/tree/master/AssortedCallouts/Callouts
I have not made any callout yet, but i have made a plugin. In a way i feel it is more simple to start out with a plugin, but if callouts are your thing, then it is of cause not helping.
I dfo not know the callouts you want to recreate, but i would recommend a really simple one first, and the build it up with more complicated code

Not being able to initiate the callout should be solved by manually selecting it from your plugins-folder.
Press F4
In console type loadplugin
All white text can be easy-pasted just press TAB
After loadplugin type the first letters of your callout and let easy-pasted do the rest!
Then it should initiate i hope..

This syntax gives default-player a weapon, but oddly not the correct one, but at least you have the syntax

Game.LocalPlayer.Character.GiveNewWeapon(

   new WeaponAsset("WEAPON_STUNGUN"), -1, true);

If you manage to get the taser-gun Please tell -I get a flashlight.... 😳

See my plugin here:
https://www.youtube.com/watch?v=peqSXuTfIyY

Let me know if you find it interesting.
Best Regards.

  • Author
1 hour ago, GTAbear said:

The callout tutorial from the stickies is fine:

Is that the one you have used?
Another brilliant resource is Albo's gitHub repository where he shows source code for a lot of callouts:
https://github.com/Albo1125/Assorted-Callouts/tree/master/AssortedCallouts/Callouts
I have not made any callout yet, but i have made a plugin. In a way i feel it is more simple to start out with a plugin, but if callouts are your thing, then it is of cause not helping.
I dfo not know the callouts you want to recreate, but i would recommend a really simple one first, and the build it up with more complicated code

Not being able to initiate the callout should be solved by manually selecting it from your plugins-folder.
Press F4
In console type loadplugin
All white text can be easy-pasted just press TAB
After loadplugin type the first letters of your callout and let easy-pasted do the rest!
Then it should initiate i hope..

This syntax gives default-player a weapon, but oddly not the correct one, but at least you have the syntax

Game.LocalPlayer.Character.GiveNewWeapon(

   new WeaponAsset("WEAPON_STUNGUN"), -1, true);

If you manage to get the taser-gun Please tell -I get a flashlight.... 😳

This is exact tutorial i used, seemed good. I see in console that plugin has loaded, but when it comes to callout, nothing. Plugin itself doesnt give any error so i think its good XD I tried both that simple pursuit, and another i found on github (i forgot the name, but it was something with mugging).. again i got plugin to load but no callout.
I am pretty much noob when it comes to coding, but i figured once i get the one from tutorial to work i can fool around, but seems i cannot even do that. Thank you for albos callouts tho, i was searching for something like that to "reverse engineer", so i will definetly give it a try.

On 9/22/2022 at 6:27 PM, Rik7734 said:

This is exact tutorial i used, seemed good. I see in console that plugin has loaded, but when it comes to callout, nothing. Plugin itself doesnt give any error so i think its good XD I tried both that simple pursuit, and another i found on github (i forgot the name, but it was something with mugging).. again i got plugin to load but no callout.
I am pretty much noob when it comes to coding, but i figured once i get the one from tutorial to work i can fool around, but seems i cannot even do that. Thank you for albos callouts tho, i was searching for something like that to "reverse engineer", so i will definetly give it a try.

Hi, I can a little bit help you if you want (I'am absolutely not a pro but I can give you some advices I think). Give me your discord in DM if you want

by Mytical.

On 9/24/2022 at 7:00 PM, Mytical49 said:

Hi, I can a little bit help you if you want (I'am absolutely not a pro but I can give you some advices I think). Give me your discord in DM if you want

The best way is to make a small tutorial right here in forum, then anybody that has a similar issue can find a solution be searching 🙂

See my plugin here:
https://www.youtube.com/watch?v=peqSXuTfIyY

Let me know if you find it interesting.
Best Regards.

On 9/26/2022 at 5:23 PM, GTAbear said:

The best way is to make a small tutorial right here in forum, then anybody that has a similar issue can find a solution be searching 🙂

I mean there is already tutorials on yt and here, but some things aren't explained

 

by Mytical.

21 hours ago, Mytical49 said:

there is already tutorials on yt and here, but some things aren't explained

Those are things that everybody could benefit from knowing about, and most likely why the callouts does not do what they are supposed to, dont load, or mess up.
Atm i have not made any callouts, i am working on my plugin that i need myself, because i do not want to install STP.
So far i have
    "cuts sirene, "+
    "offer Peds/ colleague transport, " +
    "destroy cars" +
    "give stungun in foot-chase " +
    "UniversalCarKey"+
    "CarBlipping & blipRemoving"

(Copied from the assembly-info),

But i really would like to be able to remove 'dead' peds, -a kind of coroner-feature -that is important, but also using props, and soundfiles. For those i have the strangest trouble.
Code builds with no issues, but crashes with error "cant find files or assembly"
It is those kind of tiny issues, that can foil an otherwise good plugin

See my plugin here:
https://www.youtube.com/watch?v=peqSXuTfIyY

Let me know if you find it interesting.
Best Regards.

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.