Weird.. Your code is very similar to https://libertylocked.wordpress.com/2015/06/19/readability-is-priority-for-example-scripts/ but I'll give you the benefit of the doubt.
Your script won't work anymore if you switch between characters though.
To fix this, initialize your player global var directly in the tick loop.
@Jonnycc I think it's because it was compiled with an old ScriptHookDotNet version, I'll fix this very soon.
@Domazaz You can enable police to have shields yes.
- Don't include "Report a bug" next to the vehicle types, make a different category, for example in your main menu you should have these entries "Spawn vehicles", "Settings/Misc", "About", "Exit" and you add the "Report a bug" option into the "Settings/Misc" category.
- If your mod name is too long, use smaller font size, otherwise use acronyms.
- While I have stricly nothing against RageHook, I would suggest you to convert your mods to make them SHVDN compatible because RageHook has different usage policy and host as well a mod database.
@ABE01 I stopped reading after the first line FYI. Yes you don't know about optimization. Nice try on using Confuser btw, kind of useless for such a script though.
@joeychef @FanOfMrchazta I haven't updated it for the latest GTA V version. I will try to do it next week.
I was thinking about rewriting this into C++
@InfaMouse213 This mod is not supported by FiveM.
Funniest mod I've ever seen.
Weird.. Your code is very similar to https://libertylocked.wordpress.com/2015/06/19/readability-is-priority-for-example-scripts/ but I'll give you the benefit of the doubt.
Your script won't work anymore if you switch between characters though.
To fix this, initialize your player global var directly in the tick loop.
@Jonnycc I think it's because it was compiled with an old ScriptHookDotNet version, I'll fix this very soon.
@Domazaz You can enable police to have shields yes.
@DavidP You have to remap your controls in the game settings and delete duplicates.
A few tips :
- Don't include "Report a bug" next to the vehicle types, make a different category, for example in your main menu you should have these entries "Spawn vehicles", "Settings/Misc", "About", "Exit" and you add the "Report a bug" option into the "Settings/Misc" category.
- If your mod name is too long, use smaller font size, otherwise use acronyms.
- While I have stricly nothing against RageHook, I would suggest you to convert your mods to make them SHVDN compatible because RageHook has different usage policy and host as well a mod database.
Nailed it
@jacktheflipper Sorry about that, I'll see if I can find some time to update it within the next week because I have to reinstall the game.
@ABE01 I stopped reading after the first line FYI. Yes you don't know about optimization. Nice try on using Confuser btw, kind of useless for such a script though.