Arghmate Posted March 18, 2017 Share Posted March 18, 2017 I just want to understand how to do this. Link to comment Share on other sites More sharing options...
MrAzzeroth Posted October 5, 2017 Share Posted October 5, 2017 I think, now you can do it only with a timer. ( but it's not the best mode) (I dont tested it and i dont know player.id is valid) var gm_timer = []; function fillHealth(player) { player.health = 100; } playerJoin(player) { gm_timer[player.id] = setInterval(fillHealth, 100, player); } playerQuit(player...) { clearInterval( gm_timer[player.id] ); } Link to comment Share on other sites More sharing options...
Chris0x Posted May 19, 2018 Share Posted May 19, 2018 (edited) wrong thread Edited May 19, 2018 by Chris0x Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now