جرب
local PlayerComboBox = guiCreateComboBox ( 100, 100, 200,400, "Player Names", false )
function ref ()
guiComboBoxClear ( PlayerComboBox )
for i, p in ipairs ( getElementsByType ( "player" ) ) do
guiComboBoxAddItem ( PlayerComboBox, getPlayerName ( p ) )
end
end
ref ()
addEventHandler("onClientPlayerJoin", getRootElement(), ref)
addEventHandler( "onClientPlayerQuit", getRootElement(), ref)
ويش الخبار
الكود يعمل و لا