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.

As I respond to callout, It shows CODE4 - disregard and nothing happens

Featured Replies

As I respond to callout, It shows CODE4 - disregard and nothing happens

I followed Albo1125's example

And It was on CalloutManager for sure

I cant understand why.ย 

Though my codes are not completed, but only for Processing part.

I can't understand why........

Any solutions of this?

TrackTerrorist.zip

  • Management Team

There are generally three reasons for why you get a Code 4 - Disregard:

ย 

1.) The player is too close to the calloutย position specified (seeย AddMinimumDistanceCheck)

2.) The player is too far away fromย calloutย position specified (seeย AddMaximumDistanceCheck)

3.)ย OnCalloutAcceptedย returned false

ย 

In case of 3.), if this is due to a crash, you will it in the log under "OnCalloutAccepted crashed". Please check your logfile to make sure your callout is not crashing.

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

  • Author
1 hour ago, LMS said:

There are generally three reasons for why you get a Code 4 - Disregard:

ย 

1.) The player is too close to the calloutย position specified (seeย AddMinimumDistanceCheck)

2.) The player is too far away fromย calloutย position specified (seeย AddMaximumDistanceCheck)

3.)ย OnCalloutAcceptedย returned false

ย 

In case of 3.), if this is due to a crash, you will it in the log under "OnCalloutAccepted crashed". Please check your logfile to make sure your callout is not crashing.

If I didn't put none of AddMinimumCheck and AddMaximumCheck, can it cause CODE4?

  • Management Team
2 minutes ago, Lit'Wayne said:

If I didn't put none of AddMinimumCheck and AddMaximumCheck, can it cause CODE4?

ย 

It can, but not because of distance. It will then only happen ifย OnCalloutAcceptedย returned false or crashed.

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

  • Author
1 minute ago, LMS said:

ย 

It can, but not because of distance. It will then only happen ifย OnCalloutAcceptedย returned false or crashed.

So you mean thatย 

return base.OnCalloutAccepted();

returns false value?

what does base.OnCalloutAccepted() means?

4 minutes ago, LMS said:

ย 

It can, but not because of distance. It will then only happen ifย OnCalloutAcceptedย returned false or crashed.

Or, this is my RPH log file so Please check the log if you can ๐Ÿ™‚

RagePluginHook.log

  • Management Team
1 hour ago, Lit'Wayne said:

So you mean thatย 

return base.OnCalloutAccepted();

returns false value?

what does base.OnCalloutAccepted() means?

ย 

Or, this is my RPH log file so Please check the log if you can ๐Ÿ™‚

RagePluginHook.log 356.76 kB ยท 2 downloads

ย 

I meant that your overload forย OnCalloutAcceptedย returned false, because perhaps you decided to end the callout prematurely if setting it up failed (that is what it is used for). The base call will always return true.

ย 

In your log, I do not see any attempt to start your own callout. Remove other callout packs and try again just with your own callout installed.

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

  • Author
19 hours ago, LMS said:

ย 

I meant that your overload forย OnCalloutAcceptedย returned false, because perhaps you decided to end the callout prematurely if setting it up failed (that is what it is used for). The base call will always return true.

ย 

In your log, I do not see any attempt to start your own callout. Remove other callout packs and try again just with your own callout installed.

Well....I think my ped constructor went wrong......

I constructed ped like this

ย secs[10] = new Ped("SWAT01SMY", pedvecs[10], 159.3015f);

I think String type of ped name is wrong, should I use model name like this, exactly same with file name?

s_m_y_swat_01_p

ย 

+) Oh, now I gotit.

I missed that I ped model name structureย is kinda different from vehicles.ย  I gotta try with using file names.

Edited by Lit'Wayne

  • Management Team
15 hours ago, Lit'Wayne said:

Well....I think my ped constructor went wrong......

I constructed ped like this

ย secs[10] = new Ped("SWAT01SMY", pedvecs[10], 159.3015f);

I think String type of ped name is wrong, should I use model name like this, exactly same with file name?

s_m_y_swat_01_p

ย 

+) Oh, now I gotit.

I missed that I ped model name structureย is kinda different from vehicles.ย  I gotta try with using file names.

ย 

Yes, you will have to use the model names. You can find more information about peds here:ย http://ragepluginhook.net/PedModels.aspx

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

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.