You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've been messing around with random script ideas and for some of them I just need to use natives since they're not mapped as CLEO Redux functions. Thing is though, almost none of them seem to work?
Here's a test script:
/// <reference path="./.config/gta_iv.d.ts" />
import { KeyCode } from "./.config/enums"
FxtStore.insert("TestString", "Hello.", false)
const gCam = native("GET_GAME_CAM")
while (true) {
if (Pad.IsKeyPressed(KeyCode.RightShift)) {
Text.PrintHelp("TestString")
let oldFOV = native("GET_CAM_FOV", gCam)
log(oldFOV)
native("SET_CAM_FOV", gCam, 150)
while (Pad.IsKeyPressed(KeyCode.RightShift)) {
wait(0)
}
native("SET_CAM_FOV", gCam, oldFOV)
}
wait(0)
}
The GET native does indeed return a value and log it correctly, but trying to set the FOV does nothing.
This could possibly be a FusionFix conflict, but there's also other natives that don't work, for example the PTFX ones like TRIGGER_PTFX. None of them seem to spawn any particles no matter what parameters I give them.
I am going off of this JulioNIB Particles Tutorial so I'm fairly sure I'm giving it all the correct parameters.
The text was updated successfully, but these errors were encountered:
I've been messing around with random script ideas and for some of them I just need to use natives since they're not mapped as CLEO Redux functions. Thing is though, almost none of them seem to work?
Here's a test script:
The GET native does indeed return a value and log it correctly, but trying to set the FOV does nothing.
This could possibly be a FusionFix conflict, but there's also other natives that don't work, for example the PTFX ones like TRIGGER_PTFX. None of them seem to spawn any particles no matter what parameters I give them.
I am going off of this JulioNIB Particles Tutorial so I'm fairly sure I'm giving it all the correct parameters.
The text was updated successfully, but these errors were encountered: