طيب اذا كلامي خطأ قول لي
اول شي :- الاستخراج انت مسوية بالتوب بار شات حق الهيد شوت , تمام
ثاني شي خلي ال
label
فوق راس اللاعب الى قتل
واستخدم
local sX, sY = guiGetScreenSize()
GUIEditor = {
label = {},
}
GUIEditor.label[1] = guiCreateLabel(sX/288,sY/306, 158, 45, "Head_Shot + 5", false)
local font_0 = guiCreateFont("Dragon.ttf",13)
guiSetFont(GUIEditor.label[1], font_0)
guiLabelSetColor(GUIEditor.label[1], 24, 49, 230)
guiLabelSetHorizontalAlign(GUIEditor.label[1], "center", false)
guiSetVisible(GUIEditor.label[1],false)
function head()
sound = playSound("HeadShot.mp3", false)
setSoundVolume(sound, 1.0)
guiSetVisible(GUIEditor.label[1],true)
x,y = guiGetPosition(GUIEditor.label[1] ,false)
xN,xY = x + 1 , y
if xN >= 700 then
xN = 100
guiSetPosition(GUIEditor.label[1] ,xN,xY,false)
setTimer(closewin, 3000, 1)
end
end
addEvent("text", true)
addEventHandler("text", getRootElement(), head)
function closewin()
guiSetVisible(GUIEditor.label[1],false)
end
جرب :]