Jump to content

طلب كود الرساله


Recommended Posts

شباب بغيت كود لما تضغط على زر

تجيك رساله لبل تحت الفلوس ذيك

يعني مثلا لما يضغط على زر انتقال

يقله تم االانتقال الى الدائري بس مو في الشات

تحت الفلوس

و شكرا

Link to comment

مدري لو كذا قصدك

  
GUIEditor_Label = {} 
GUIEditor_Button = {} 
  
GUIEditor_Button[1] = guiCreateButton(99,155,197,55,"!!",false) ____ زر  
GUIEditor_Label[1] = guiCreateLabel(0,228,222,64,"ولكم في سيرفر ",false) ____ليبل غير احداثه 
guiSetVisible(GUIEditor_Label[1],false)____ الخفاء 
  
addEventHandler( "onClientGUIClick", root, 
 function () 
         if ( source == GUIEditor_Button[1] ) then 
        guiSetVisible(GUIEditor_Label[1],true)  ____ اضهار عند ضغط 
setTimer ( function() ________ وقت الخفاء 
             guiSetVisible(GUIEditor_Label[1],false) 
    end, 5000, 1 ) 
  
end 
  end) 

Link to comment
شكرا لك اخوي يزن

your welcome :D

نبي الحركة

:arrowdown::arrowdown::arrowdown::arrowdown:

((

local v,y = guiGetPosition(guiElement,true) 
local v = 400 
local y = 100 
Label = guiCreateLabel(v,y,100,100,"Test",false) 
  
function Move() 
    guiSetPosition(Label,v,y,false) 
    y = y +1 
    v = v -1 
end 
addEventHandler("onClientRender",getRootElement(),Move) 

))

Edited by Guest
Link to comment
شكرا لك اخوي يزن

your welcome :D

نبي الحركة

:arrowdown::arrowdown::arrowdown::arrowdown:

((

local v,y = guiGetPosition(guiElement,true) 
local v = 400 
local y = 100 
Label = guiCreateLabel(v,y,100,100,"Test",false) 
  
function Move() 
    guiSetPosition(Label,v,y,false) 
    y = y +1 
    v = v -1 
end 
addEventHandler("onClientGUIClick",getRootElement(),Move) 

))

:?

Link to comment
شكرا لك اخوي يزن

your welcome :D

نبي الحركة

:arrowdown::arrowdown::arrowdown::arrowdown:

((

local v,y = guiGetPosition(guiElement,true) 
local v = 400 
local y = 100 
Label = guiCreateLabel(v,y,100,100,"Test",false) 
  
function Move() 
    guiSetPosition(Label,v,y,false) 
    y = y +1 
    v = v -1 
end 
addEventHandler("onClientGUIClick",getRootElement(),Move) 

))

:?

مثال + تم تعديل

Link to comment

:lol::lol: يزن وش اللحسة هذي :lol::lol:

تعلم من ذا الكود ذذذذذذذذ

isMove = false 
  
bindKey("الزر", "down", 
function() 
if isMove then return end 
if guiGetVisible( wnd ) then 
    guiSetVisible(wnd, false) 
    showCursor(false) 
else 
    guiSetPosition(wnd, -300, 54, false) 
    guiSetVisible(wnd, true) 
    showCursor(true) 
    if isTimer(Time) then 
        return 
    end 
    Time = setTimer(function() 
    local x, y = guiGetPosition(wnd, false) 
    guiSetPosition(wnd, x + 13, y, false) 
    end, 50, 50) 
    isWindowMove(true) 
    setTimer(isWindowMove, 100, 1, false) 
end 
end 
) 
  
  
function isWindowMove(bole) 
isMove = bole 
end 
Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

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