This site has been archived and made available for preservation purposes. No edits can be made.

Results 1 to 3 of 3

Thread: Gary #4

  1. #1

    Gary #4

    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

  2. #2
    Senior Member Volumed's Avatar
    Join Date
    Aug 2011
    Location
    Holland
    Posts
    1,010
    Blog Entries
    1
    agree able, Gary 4 is no bugfix or a 2.4 with so many new features you are rushing it Recycler with all respect.

  3. #3
    Administrator
    Join Date
    Jun 2011
    Location
    Germany
    Posts
    1,057
    Blog Entries
    5
    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.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •