getPrevWeatherTypeHashName
GET_PREV_WEATHER_TYPE_HASH_NAME0x564B884A05EC45A3The GTA V native GET_PREV_WEATHER_TYPE_HASH_NAME of the MISC namespace, as LS:MP client scripts call it: the global function getPrevWeatherTypeHashName, in JavaScript and in Lua.
getPrevWeatherTypeHashName(): HashgetPrevWeatherTypeHashName(): HashUsage
JavaScript
const hash = getPrevWeatherTypeHashName();Lua
local hash = getPrevWeatherTypeHashName()Parameters
None.
Returns
Hash JavaScript number, Lua integerA game hash. Natives return it unsigned (0 to 4294967295), the value lsmp.hash gives. As an argument, the signed and unsigned forms of a hash are the same value.
Notes
From the community native database. Names are LS:MP’s; samples may be written for C++ or another framework.
Returns current weather name hash
Reference
- Namespace
- Misc MISC
- In the game
Hash GET_PREV_WEATHER_TYPE_HASH_NAME()- Hash
0x564B884A05EC45A3- Formerly
_GET_PREV_WEATHER_TYPE