whitevo
Feeling good, thats what I do.
I haven't done much of research about that yet, it may be out here somewhere already, but with few tries on search, didn't find any information.
How to make it so? Players can logout where ever they want, regardless are they in combat or not.
Instead when attempting to log out if statement question will come up: (obviously this wouldn't work in sourcecode and I guess it should be done in source)
I already have well planned "combat system" in LUA so it wouldn't be problem to add timed storage value on each hit.
How to make it so? Players can logout where ever they want, regardless are they in combat or not.
Instead when attempting to log out if statement question will come up: (obviously this wouldn't work in sourcecode and I guess it should be done in source)
Code:
if player:getStorageValue(1000) == 1 then
player:sendTextMessage(GREEN, "Can't log out for 15 seconds after taking damage")
return false
end
return true
I already have well planned "combat system" in LUA so it wouldn't be problem to add timed storage value on each hit.