Everything posted by LMS
-
Make gameplay cam focus on entity
This is called "hints", for instance see SET_GAMEPLAY_PED_HINT.
-
Vehicle Constructor with Modification 'add-on' like Armour or turbo?
Call vehicle.Mods.InstallModKit first. Otherwise you cannot install mods, as you saw.
-
Vehicle Constructor with Modification 'add-on' like Armour or turbo?
Every vehicle has a Modsproperty you can use. Make sure to install a default modkit first using it, then you can set the index for other mods.
-
LCPDFR 1.1 Crash/Freeze if streaming on Discord (CE downgraded to 1.0.7.0)
It's possible that the DirectX hook in ENB series does not play nice with Discord's.
-
LML crashes when clicking on the mods tab
If you need admin, check your folder and see if it has some odd permissions issue since normally a game folder should not need it.
-
[SOLVED] Plugin does not have a suitable entry point.
Well, you are looping without yielding unless the user presses Z so that is expected.
-
return ((Vector3)ref position).DistanceTo(((Entity)Game.LocalPlayer.Charact
What is with all the unnecessary casts and trying to manually call implicit operators those (op_Implicit)? That makes no sense. In any case, you can call DistanceTo on any Vector3, there is no need for ref.
-
[SOLVED] Plugin does not have a suitable entry point.
You did not provide RPH with an entry point and the default entry point is also missing. Make your Main method static and it should resolve.
-
How to get the Vanilla LSPDFR traffic stopped ped
What do you mean it won't grab the peds name? That function will get you the actual ped, you can then use it to get its persona for instance. Try to get the ped and then kill it to verify that you are getting the correct one.
-
How to get the Vanilla LSPDFR traffic stopped ped
That functions seems to be exactly what you would want. Can you clarify why it is not working in the way you would expect it?
-
return ((Vector3)ref position).DistanceTo(((Entity)Game.LocalPlayer.Charact
That looks like decompiled code, where did you get it from?
-
[suggestion] remove shading of console
If you toggle on developer mode via the console, RPH spawns an external window outside of GTA. Maybe sure you are in windowed (borderless) mode to see it. Let me know if that works for you.
-
RageNativeUI / LemonUI - help
What do you mean, not even loaded? If you put just the code from above in your project and recompile, what is not being loaded? Also, add some logging to the LoadPi command and other calls down the call chain. Keep in mind you probably have to register the console command via RPH first.
-
RageNativeUI / LemonUI - help
RAGENativeUI most likely needs to be placed in the game root folder. Move the example code from above into one of your callout plugins which you already have working. Then see if you can get the menu working there or what the error message is.
-
RageNativeUI / LemonUI - help
Do you get the log statement that your key is down ("Loaded")?
-
[suggestion] remove shading of console
As a temporary workaround you can toggle on dev mode which will spawn an external window that also has the console but is much larger. You can also drag down the in-game console to see more entries (of course the top ones will still be shaded).
-
RageNativeUI / LemonUI - help
I think this might be a good starting point then: https://github.com/alexguirre/RAGENativeUI/wiki/Menus-Overview
-
RageNativeUI / LemonUI - help
RageNativeUI comes with quite a few examples, what are you looking for?
-
how do you make a Rage.Vector4 with a tuple?
What are you trying to do? Generally speaking, a tuple can hold any type.
-
<Solved> audioflag is ignored
The callouts are dispatched by LSPDFR, not by the game. Hence calling any natives will not affect them. The native you are using is also only related to game audio. Can you describe a bit more what you are trying to achieve and why you are doing it outside of the LSPDFR callout manager?
-
Weapon Turret Defender data wont let me load in the game
I don't know, but it is not LSPDFR crashing your game.
-
Weapon Turret Defender data wont let me load in the game
That is not related to LSPDFR but GrammarPolice/RAGENativeUI.
-
Weapon Turret Defender data wont let me load in the game
You probably need this: https://www.gta5-mods.com/tools/cweaponinfoblob-limit-adjuster
-
Callout issue
Just log the values of your settings before the register the callouts. That way you should know whether they get registered or not. Then check in-game if those that are false still should up (they should not).
-
Callout issue
That seems fine to me, logic-wise. Have you tried printing the variables to make sure they are what you think they are when registering?