• Player Health?
    1 replies, posted
I need help with something I am making and I have a dumb question, how can I make a function were if the player health gets to a certain point then force it to run a console command. In other words: If player health goes below 40 then run concmd say " Medic!!! " Something like that, but in actual LUA. So it can always be active in lua>autorun>client
[B][URL="http://wiki.garrysmod.com/?title=Gamemode.PlayerHurt"]Gamemode.PlayerHurt [IMG]http://wiki.garrysmod.com/favicon.ico[/IMG][/URL][/B] Check the player's health in there.
Sorry, you need to Log In to post a reply to this thread.