Reply To: Mafia 3 Modding (Mega Thread)

Download Mods for the Mafia Games Forums Mod Creation Mafia 3 Modding (Mega Thread) Reply To: Mafia 3 Modding (Mega Thread)

#164445
vob775
Participant

EDIT: OK I solved by myself. I’ll upload weather change script mod later.

 

Anyone tried to change weather in scripthook? I tried it “game.gfx:SetWeatherSet” like this;

game.gfx:SetWeatherSet("_default_game")

but it occurs error below;

Error loading Lua code into buffer. Error -100

Missing adaptor arguments.

stack traceback:

[C]: in function 'SetWeatherSet'

test:2: in function '(main chunk)'

I can’t identify what is “missing adaptor arguments”.

I hope that someone help me thanks.