Jump to content

how can i get player's status completely,


xMoDy

Recommended Posts

Posted (edited)

Hello, I want to show the player's status completely,
Like hunger and fatigue

I am a beginner ,
So I need your help

Edited by xMoDy
Posted

First, you are going to want to create some gui which is only done client side: https://wiki.multitheftauto.com/wiki/Client_Scripting_Functions#GUI_functions_2

I recommend you get the gui edit resource that will make guis for you much easier: https://community.multitheftauto.com/index.php?p=resources&s=details&id=141

Once you get a gui menu up and running, you'll need to fill it with the player's status: https://wiki.multitheftauto.com/wiki/GetPedStat

One step at a time though, just focus on making the gui first... :)

  • 2 weeks later...
Posted
On 16/02/2020 at 04:08, ReZurrecti0n said:

First, you are going to want to create some gui which is only done client side: https://wiki.multitheftauto.com/wiki/Client_Scripting_Functions#GUI_functions_2

I recommend you get the gui edit resource that will make guis for you much easier: https://community.multitheftauto.com/index.php?p=resources&s=details&id=141

Once you get a gui menu up and running, you'll need to fill it with the player's status: https://wiki.multitheftauto.com/wiki/GetPedStat

One step at a time though, just focus on making the gui first... :)

Ok .. thanks but I went only player . status : hunger & thirty ?

 

Posted

Dear xMoDy,

do you know what the scripting language called "Lua" is? :)

We use it in MTA to create server mods. You don't seem to have posted any scripting progress so I am curious. We could help you get started with Lua!

Yours,
- Martin

  • Thanks 1

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...