Advertisement
mja00

RedM - Weather Function

Nov 17th, 2019
569
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.29 KB | None | 0 0
  1. function weather(weatherHash)
  2.     ClearOverrideWeather()
  3.     ClearWeatherTypePersist()
  4.     Citizen.InvokeNative(0xFA3E3CA8A1DE6D5D, weatherHash, weatherHash, 1.0)
  5. end
  6.  
  7. -- Just get the hash for the weather type you want and send it into the function
  8. -- IE: for snow it's weather(0x27EA2814)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement