Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- script_name("GuruGuru69's Earthquake Adjuster (tm)")
- local bEnable = true
- local fIntensityMin = 0.0
- local fIntensityMax = 1.0
- local memory = require 'memory'
- local math = require 'math'
- math.randomseed (os.clock())
- local CWeather__Earthquake = 0xC81340
- function main()
- if not bEnable then return end
- while true do
- wait(0)
- if testCheat("quake") then
- local fIntensity = randomFloat(fIntensityMin,fIntensityMax)
- printHelpString("HABE A FUNZ")
- memory.setfloat(CWeather__Earthquake,fIntensity,false)
- end
- printStringNow("Earthquake intensity : "..memory.getfloat(CWeather__Earthquake,4,false))
- end
- end
- function randomFloat(lower, greater) return lower + math.random() * (greater - lower); end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement