villr Posted February 18, 2012 Posted February 18, 2012 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?
villr Posted February 18, 2012 Author Posted February 18, 2012 No i cant use elementdata for accounts lol elementdata wont work with this or how do u mean?
villr Posted February 18, 2012 Author Posted February 18, 2012 Yeye i know how to set but the other part..
villr Posted February 18, 2012 Author Posted February 18, 2012 Anyone else that knows how to help me? I know that i have to use guiGridListSetItemText but idk how to use it for just this..
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