Lopaskurwa
Well-Known Member
- Joined
- Oct 6, 2017
- Messages
- 936
- Solutions
- 2
- Reaction score
- 57
Hello,
so i have command that when you type it your hp goes to % but when you relog it goes back to normal so i would like to save it once you type that command it saves even when you relog or exit and come back again.
so i have command that when you type it your hp goes to % but when you relog it goes back to normal so i would like to save it once you type that command it saves even when you relog or exit and come back again.
LUA:
function onSay(player, words, param)
if player:toggleStatsAsPercentage() then
-- player is now using percentage notation, you can send him a message.
else
-- player is now using normal notation, you can send him a message.
end
return false
end