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.

[RESOLVED] Manipulate AI

Featured Replies

How to manipulate, AI Drivers so they don't spawn or drive to a certain area?

Edited by Jesyx
RESOLVED

🇨🇦🇳🇱🇺🇦 Слава Україні! 🇺🇦🇳🇱🇨🇦

🇨🇦🇳🇱🇺🇦 Героям слава! 🇺🇦🇳🇱🇨🇦

  • Author
1 minute ago, liverlande said:

It seems that VEHICLE::SET_ALL_VEHICLE_GENERATORS_ACTIVE_IN_AREA should work here. I don't think RAGEPluginHook exposes it, so you'd have to directly call the native function.

 

See:

http://www.dev-c.com/nativedb/func/info/c12321827687fe4d

 

Further reading:

 

 

how do you get nativedb, i tried it earlier but i couldnt figure it out

🇨🇦🇳🇱🇺🇦 Слава Україні! 🇺🇦🇳🇱🇨🇦

🇨🇦🇳🇱🇺🇦 Героям слава! 🇺🇦🇳🇱🇨🇦

nativedb is just the name of the web resource. Native functions are functions used by GTA V, which can also be called through an external modification such as RAGEPluginHook. You can use NativeFunction.CallByName to call a native by name, or you can use NativeFunctions.Natives.NameOfFunction if RAGEPluginHook has it coded in. Both achieve the same, you could also call by hash and a few other things but that's beyond the scope of this post.

 

From the "further reading" example I have provided, this example is given by epicmrjuan. You'd need to adjust the supplied parameters, according to the definition on nativedb:

NativeFunction.Natives.SET_ALL_VEHICLE_GENERATORS_ACTIVE_IN_AREA(474.19f,  565.63f, 185.40f, 986.80f, 617.79f, 100.00f, false, false);

 

Edited by liverlande

  • Author

OK thanks

Edited by Jesyx

🇨🇦🇳🇱🇺🇦 Слава Україні! 🇺🇦🇳🇱🇨🇦

🇨🇦🇳🇱🇺🇦 Героям слава! 🇺🇦🇳🇱🇨🇦

  • Author

how can you check the 'int' of a vehicle generator

🇨🇦🇳🇱🇺🇦 Слава Україні! 🇺🇦🇳🇱🇨🇦

🇨🇦🇳🇱🇺🇦 Героям слава! 🇺🇦🇳🇱🇨🇦

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.