Hi, i am currently trying to disable a few of the natives using the same method as the Weather and NoWantedLevel scripts… I have noticed there is no Now or Persist native calls so would this make it not possible? I have tried it the same way as the Radar but its not set up the same so i added the “OFF” option thinking it would default the trainer to off. Can anyone help? I am confused at why this dont work when the server is issuing the command pretty much to turn off the said natives.
-- Hide miniMap conditions
-- For use Later
-- HideHudAndRadarThisFrame()
Citizen.CreateThread(function()
while true do
HideHudAndRadarThisFrame()
SetExplosiveAmmoThisFrame("OFF")
SetExplosiveMeleeThisFrame("OFF")
SetFireAmmoThisFrame("OFF")
SetPlayerInvincible("OFF")
SET_PLAYER_INVISIBLE_LOCALLY("OFF")
Citizen.Wait(1)
end
end)
nothing to just disable the mini map itself then huh?
Also what you posted does not seem to do anything, should this be called client side or server side
Only thing that i can find is DisableRadar and it did nothing, and then there is ToggleStealthRadar which i have no idea what that does i was googling it.
Any idea why your false setting does nothing for me
-- Hide miniMap conditions
-- For use Later
Citizen.CreateThread(function()
while true do
SetExplosiveAmmoThisFrame('false')
SetExplosiveMeleeThisFrame('false')
SetFireAmmoThisFrame('false')
SetPlayerInvincible('false')
SET_PLAYER_INVISIBLE_LOCALLY('false')
Citizen.Wait(1)
end
end)
and that doesnt work, doesnt even attempt to take effect
ill try that out thanks alot for your time. Still unable to find the string i really wanted, the Player ID Above Vehicle native. Ive dug around in trainer source codes and cant find it. And i learn on the fly i can read languages just gotta understand why 2 different things don’t work the same. Its a basic disable script like seriously
Citizen.CreateThread(function()
while true do
DisplayRadar (false)
SetExplosiveAmmoThisFrame (false)
SetExplosiveMeleeThisFrame (false)
SetFireAmmoThisFrame (false)
SetPlayerInvincible (false)
SET_PLAYER_INVISIBLE_LOCALLY (false)
end
Citizen.Wait(0)
end)