Bak Şimdi İlk Olarak Bir Dosya Oluştur İçine 2 Tane Şey Ekleyeceksin meta.xml Ve script_c.lua Bu 2 Sini Oluştur Sonra İçlerine Aşağıda Vereceğim Kodları Ekle
local testGrid = guiCreateGridList( 0.0, 0.0, 0.0, 0.02, false, testWindow ) -- guiCreateGridList( x axis, y axis, width, height, absolute/relative numbers, is it attached to something )
--right, lets make some labels that tell you a number of online players
local testLabel = guiCreateLabel( 0.93, 0.96, 0.9, 0.5, 'Online Players: ', true, testWindow ) -- guiCreateLabel( x axis, y axis, width, height, name, absolute/relative numbers, attached to )
setTimer( -- lets create a timer
function( ) -- timer needs a function
guiSetText(testLabel, 'Oyuncu Sayısı: '.. #getElementsByType('player')) -- set new text to stuff, for this instance to the label we created earlier
end, 100, 0 -- lets end the function and set 100miliseconds to get the function executed, for infinity times
) -- lets close the timer