Chris!i! Posted April 16, 2014 Share Posted April 16, 2014 Hello all i have a prob with my script i want to add on it Kills,PlayTime,Money anyone can help me ?? i set these there is these 3 things i didnt did it and i dont know it if someone can tell me what are they and do it for me its a stats GUI. command /stats function setStats ( ) if ( source == GUIEditor_Grid[1] ) then row, col = guiGridListGetSelectedItem ( source ) if ( row and col and row ~= -1 and col ~= -1 ) then local playername = guiGridListGetItemText ( source, row, col ) local thePlayer = getPlayerFromName ( playername ) if ( thePlayer ) then local x, y, z = getElementPosition ( thePlayer ) local location = getZoneName ( x, y, z ) local money = getPlayerMoney( thePlayer ) local id = getElementModel( thePlayer ) local ping = getPlayerPing( thePlayer ) local dm = getElementDimension( thePlayer ) local tm1 = getPlayerTeam( thePlayer ) local tm2 = getTeamName( tm1 ) local tm2 = getTeamName( tm1 ) guiSetText ( GUIEditor_Label[1], "Nickname : ".. playername ) guiSetText ( GUIEditor_Label[2], "Location : ".. location ) guiSetText ( GUIEditor_Label[4], "Skin : ".. id ) guiSetText ( GUIEditor_Label[6], "Dimension : ".. dm ) guiSetText ( GUIEditor_Label[7], "Team : ".. tm2 ) guiSetText ( GUIEditor_Label[8], "Kills : ".. ) guiSetText ( GUIEditor_Label[9], "PlayTime : ".. ) guiSetText ( GUIEditor_Label[10], "Money : ".. money ) Link to comment
Chris!i! Posted April 17, 2014 Author Share Posted April 17, 2014 thanks all for info i thought i will get my answer direclty Link to comment
Castillo Posted April 17, 2014 Share Posted April 17, 2014 To start with, how are you saving the play time and kills? Link to comment
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