Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local qtdd = 10 -- Qtdd de Stamina remove por morte
- function onPrepareDeath(cid, deathList)
- if isPlayer(cid) then
- local get = getPlayerStamina(cid)
- newValue = (get - qtdd)
- if newValue > 0 then
- setPlayerStamina(cid, newValue)
- end
- end
- return true
- end
Advertisement
Add Comment
Please, Sign In to add comment