Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if getElementData(source, "loggedin") and getElementData(source, "char:adminduty") == 0 then
- local pia = getElementData(source, "drink")
- if getElementData(source, "ajailed") then
- return
- end
- if pia > 7 then
- setElementData(source, "drink", drink - 2)
- elseif pia ~= 0 and pia <= 7 then
- setElementData(source, "drink", 0)
- else
- outputChatBox("#00aeef[CloudGaming]: #ffffffSzomjas vagy. Ha nem iszol akár bele is halhatsz!",255,255,255,true)
- setElementHealth(source, getElementHealth(source) - 5)
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement