Jump to content

LUA Function Help


Malone.

Recommended Posts

Posted (edited)

i made alots of Functions for Players if they die they should got heal 200 HP but no thing got work also i use server sides only., is there any function helpful for this cause ?

Edited by Malone.
  • Moderators
Posted (edited)

You need to respawn a player in order to reset his health.

 

 

Edited by IIYAMA

Do you want to improve your Lua programming skills and make less mistakes?   Start with Lua Language Server!   🙀

 

  Useful functions  3x 

  Tutorials  4x 

 

  • Moderators
Posted (edited)

It will reset the health to the max player health, which is limited by the playerstats: https://wiki.multitheftauto.com/wiki/SetPedStat

(default is 100 health, but can be increased to 200)

Edited by IIYAMA

Do you want to improve your Lua programming skills and make less mistakes?   Start with Lua Language Server!   🙀

 

  Useful functions  3x 

  Tutorials  4x 

 

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...