Jump to content

[Problem] Update-panel


//_Dragon

Recommended Posts

function refreshStaffList() 
guiGridListClear(Staff.gridlist[1]) 
    for i,v in ipairs(staff) do  
        local row = guiGridListAddRow(Staff.gridlist[1]) 
        local name = v[1] 
        local rank = v[2] 
        for index, k in ipairs(getElementsByType("player")) do 
            if isElement(getPlayerFromName(name)) then 
                guiGridListSetItemText(Staff.gridlist[1], row, 1, name, false, false) 
                guiGridListSetItemText(Staff.gridlist[1], row, 2, rank, false, false) 
                guiGridListSetItemColor(Staff.gridlist[1], row, 1, 255,255,255) 
                guiGridListSetItemColor(Staff.gridlist[1], row, 2, 255,255,255) 
            else 
                guiGridListSetItemText(Staff.gridlist[1], row, 1, name, false, false) 
                guiGridListSetItemText(Staff.gridlist[1], row, 2, rank, false, false) 
                guiGridListSetItemColor(Staff.gridlist[1], row, 1, 55,55,55) 
                guiGridListSetItemColor(Staff.gridlist[1], row, 2, 55,55,55) 
            end 
        end 
    end 
end 
setTimer(refreshStaffList, 1000, 0) 

Link to comment

thanks dude it's working

a little problem

i want add account stafff in this script because any one can do name writted in panel & name will be online

i want add name account in panel then if staff connect with name account his name will be white ( online ) but other if they do same name but different account there name will be not white ( online )

when u need it  

Edited by Guest
Link to comment

No one will help you make stolen scripts and ideas.

EDIT: Stop pm'ing me that i stole your staff panel idea,this isn't actually your's and you dont even made a shit in your server and saying "I've made everything" but this 'everything' were made by forum members.

Link to comment
No one will help you make stolen scripts and ideas.

EDIT: Stop pm'ing me that i stole your staff panel idea,this isn't actually your's and you dont even made a :~ in your server and .....

First u're newbie because you steal it , also i made it 1 year ago & 2 days ago i decide to fixe it but u steal it from my post forum . Stop clonnig other servers ( gra....) & i can prove that you steal my script

:arrow: CHECK the pic : http://imgur.com/IJa4lnj

What is this ? hein ? also you add it in your server just yesterday that mean after i posted it in forum

Anyway stop lying , go away from my forum's post

Link to comment

If you want to edit something which you wrote yourself, why would you have to ask the community for help? Or.. didn't you write it yourself? If so, only the creator of the resource will most likely give you a hand.. if you didn't jack his scripts. The entire community won't help you if these scripts are stolen/leaked.

And if you 'made' the base of script why you cant add a simple timer?

Link to comment
Guest
This topic is now closed to further replies.
  • Recently Browsing   0 members

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