Jump to content

Accountdata and Gui


villr

Recommended Posts

Hello everyone im wondering about how i could do for getting the gui to show the accountdata in this gui?

I want it to get the accountData "carshow" and if any of the players have it, it says true and if not tells false

function clientsideResourceStart () 
        local column = guiGridListAddColumn( playersgridlist, "Carshow True/False", 0.3 ) -- Create a 'players' column in the list 
                for id, playeritem in ipairs(getElementsByType("player")) do  
                        local row = guiGridListAddRow ( playersgridlist ) 
                       -- something here 
                        end 
end 
addEventHandler ( "onClientResourceStart", getResourceRootElement ( getThisResource () ),clientsideResourceStart ) 

could someone help me?

Link to comment

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