• Drop-down list
    1 replies, posted
How i can make drop-down list with all player on server? I have an idea for my script, but now i learning LUA.. So i need help with coding
DComboBox or DermaMenu // Example of adding players for _, ply in pairs(player.GetAll()) do DComboBox:AddChoice(ply:Nick(), ply, false) end // What to do on row selected DComboBox.OnSelect = function(self, index, value, data) print("You have selected " .. value .. " and his pos is " .. data:GetPos()) end
Sorry, you need to Log In to post a reply to this thread.