Dear dev, plz explaine some lines about how turn on weather, server time and etc...
We need test new features, but dont know how.
Mb some little examples for scripters. Thx u.
Dear dev, plz explaine some lines about how turn on weather, server time and etc...
We need test new features, but dont know how.
Mb some little examples for scripters. Thx u.
Lead tester from g-test.info gaming test community
Notebook. Windows 7 64x, corei7, 8gb ram, GTX560m 2gb
Should be fairly straightforward. I'll write documentation once I have some time for it.
SetGameWeather - changes the in-game weather. See https://www.vaultmp.com/showthread.ph...s-weather-race
SetGameTime - changes the in-game time. The parameter is 64bit unixtime
SetGameYear - changes the year
SetGameMonth - changes the month
SetGameDay - changes the day
SetGameHour - changes the hour
SetTimeScale - changes how fast the in-game time progresses. The parameter is in-game seconds per real time second, i.e. 1.0: in-game time is as fast as real time, 0.0: the time stands still
SetActorBaseRace - changes the race for an actor base. See https://www.vaultmp.com/showthread.ph...s-weather-race
AgeActorBaseRace - only a convenience function. Changes the race to younger/older race of the current race
SetActorBaseSex - changes sex. True: female
And there are also Get* functions. By default, weather is "DefaultWeather", everyone has the natural sex/race of the base chosen in OnPlayerRequestGame and time is UTC real time speed.