Good idea. I will try. But, can I use this?
client
function setWL()
theTimer = setTimer(setWaterLevel, 100, 0, getWaterLevel()+0.1)
end
addEvent("setWaterL")
addEventHandler("setWaterL", root, setWL)
server
addCommandHandler("tsunami",
function(source)
local sourceAccount = getPlayerAccount(source)
if isObjectInACLGroup("user."..getAccountName(sourceAccount), aclGetGroup("Admin")) then
triggerClientEvent(source, "setWaterL")
end
end
)