Select one of the following categories to start browsing the latest GTA 5 PC mods:
its basically a wrapper around
var playerPed = PLAYER::GET_PLAYER_PED(PLAYER::GET_PLAYER_INDEX());
Vector3 coords = ENTITY::GET_ENTITY_COORDS(playerPed, true);
AI::TASK_USE_NEAREST_SCENARIO_TO_COORD(playerPed, coords.x, coords.y, coords.z, 1000.0f, -1);
someone who makes FiveM server sided mods can integrate this without much trouble
I can post full source if needed.
I can't replicate the problem, there is me using this very mod to sit in chair near Redemption Cafe at Little Portola in Rockford Hills.
Is there any other places I can check?
@lordblackhand you said Redemption cafe have this problem? any others? gonna check when I get home.
@lordblackhand this mod does not affect any chairs/tables, all it does is send a command to the character to go to the nearest scenario spot and use it.
Are you sure its not some other mod that causes this? (anything YMAP/menyoo)
@THEAETIK made it work (i am a dumbass), and this thing is NUTS! I can't believe how polished this is!
@THEAETIK Yea, tested with no .asi files and scripts folder removed. Funny enough, it starts on cracked outdated GTA, but obviously does not load assets. On legit up to date version it gives me that error :(
Oh well, such is my fate.
Does not work, I redownloaded scripthook and hook .NET, did not helped either.
Yea, I got bunch of other mods, suspect maybe Enhanced Native Trainer can conflict.
8GB of RAM is not super but should be enough.
[23:32:41] [ERROR] Caught unhandled exception:
System.TypeInitializationException: The type initializer for 'GTA.Native.MemoryAccess' threw an exception. ---> System.NullReferenceException: Object reference not set to an instance of an object.
--- End of inner exception stack trace ---
at ComplexControl.OnKeyUp(Object sender, KeyEventArgs e)
at GTA.Script.raise_KeyUp(Object value0, KeyEventArgs value1)
any idea what may cause it?