Jump to content

طلب كود لوحة الدي اكس اتمنى الدخول


Recommended Posts

  • Replies 69
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

مصارت تفتح اللوحة يوم ضفت لوكل بلآير + نفس الكلام يطلع بدي بق

قم بتبديل كود الزر الذي يعطيك دم 0 بالكود دا

  
addEventHandler("onClientGUIClick",root, 
function() 
     if ( source == btn ) then 
     setElementHealth(localPlayer,0) 
     outputChatBox("تم الانتحار",localPlayer,255,2,2) 
     end 
end 
) 
  

Link to comment
مصارت تفتح اللوحة يوم ضفت لوكل بلآير + نفس الكلام يطلع بدي بق

قم بتبديل كود الزر الذي يعطيك دم 0 بالكود دا

  
addEventHandler("onClientGUIClick",root, 
function() 
     if ( source == btn ) then 
     setElementHealth(localPlayer,0) 
     outputChatBox("تم الانتحار",localPlayer,255,2,2) 
     end 
end 
) 
  

Link to comment

 wnd = guiCreateWindow(467, 243, 348, 205, "", false) 
        guiWindowSetSizable(wnd, false) 
      guiSetVisible( wnd, false) 
  
        btn = guiCreateButton(40, 63, 265, 103, "Kill ", false, wnd) 
        guiSetFont(btn, "sa-header")     
  
addEventHandler("onClientGUIClick",root, 
function() 
     if ( source == btn ) then 
triggerServerEvent ("kill",localPlayer) 
     end 
end) 
  
function Open() 
guiSetVisible (wnd,not guiGetVisible(wnd)) 
guiSetInputEnabled (guiGetVisible(wnd)) 
showCursor (guiGetVisible(wnd)) 
end 
bindKey("o", "down", Open) 

-- server 
addEvent ("kill",true) 
addEventHandler ("kill",root, 
function () 
killPed (source,source) 
outputChatBox ("تم الانتحار",source,5,255,5) 
end 
) 

لوكال بلاير اللي هو الاعب المحلي ( الاعب الاوفلاين بأختصار ) و لازم يستخدم في جهة الكلينت

انما بلاير دي ولا حاجة

الحدث parameter علي حسب

Link to comment

 wnd = guiCreateWindow(467, 243, 348, 205, "", false) 
        guiWindowSetSizable(wnd, false) 
      guiSetVisible( wnd, false) 
  
        btn = guiCreateButton(40, 63, 265, 103, "Kill ", false, wnd) 
        guiSetFont(btn, "sa-header")     
  
addEventHandler("onClientGUIClick",root, 
function() 
     if ( source == btn ) then 
triggerServerEvent ("kill",localPlayer) 
     end 
end) 
  
function Open() 
guiSetVisible (wnd,not guiGetVisible(wnd)) 
guiSetInputEnabled (guiGetVisible(wnd)) 
showCursor (guiGetVisible(wnd)) 
end 
bindKey("o", "down", Open) 

-- server 
addEvent ("kill",true) 
addEventHandler ("kill",root, 
function () 
killPed (source,source) 
outputChatBox ("تم الانتحار",source,5,255,5) 
end 
) 

لوكال بلاير اللي هو الاعب المحلي ( الاعب الاوفلاين بأختصار ) و لازم يستخدم في جهة الكلينت

انما بلاير دي ولا حاجة

الحدث parameter علي حسب

Link to comment
  
        wnd = guiCreateWindow(467, 243, 348, 205, "", false) 
        guiWindowSetSizable(wnd, false) 
        guiSetVisible( wnd, false) 
  
        btn = guiCreateButton(40, 63, 265, 103, "Kill ", false, wnd) 
        guiSetFont(btn, "sa-header")     
  
addEventHandler("onClientGUIClick",root, 
function() 
     if ( source == btn ) then 
     setElementHealth(localPlayer,0) 
     outputChatBox("تم الانتحار",255,2,2,true) 
     end 
end 
) 
  
bindKey("o", "down",  
guiSetVisible(wnd,not guiGetVisible(wnd) 
showCursor(guiGetVisible(wnd)) 
end) 
  

Link to comment
  
        wnd = guiCreateWindow(467, 243, 348, 205, "", false) 
        guiWindowSetSizable(wnd, false) 
        guiSetVisible( wnd, false) 
  
        btn = guiCreateButton(40, 63, 265, 103, "Kill ", false, wnd) 
        guiSetFont(btn, "sa-header")     
  
addEventHandler("onClientGUIClick",root, 
function() 
     if ( source == btn ) then 
     setElementHealth(localPlayer,0) 
     outputChatBox("تم الانتحار",255,2,2,true) 
     end 
end 
) 
  
bindKey("o", "down",  
guiSetVisible(wnd,not guiGetVisible(wnd) 
showCursor(guiGetVisible(wnd)) 
end) 
  

Link to comment
  
        wnd = guiCreateWindow(467, 243, 348, 205, "", false) 
        guiWindowSetSizable(wnd, false) 
        guiSetVisible( wnd, false) 
  
        btn = guiCreateButton(40, 63, 265, 103, "Kill ", false, wnd) 
        guiSetFont(btn, "sa-header")     
  
addEventHandler("onClientGUIClick",root, 
function() 
     if ( source == btn ) then 
     setElementHealth(localPlayer,0) 
     outputChatBox("تم الانتحار",255,2,2,true) 
     end 
end 
) 
  
bindKey("o", "down",  
guiSetVisible(wnd,not guiGetVisible(wnd) 
showCursor(guiGetVisible(wnd)) 
end) 
  

ميزو شوف اظهار كلام بالشات هو مشكلته السترنج اين واكواد الالوان

Link to comment
  
        wnd = guiCreateWindow(467, 243, 348, 205, "", false) 
        guiWindowSetSizable(wnd, false) 
        guiSetVisible( wnd, false) 
  
        btn = guiCreateButton(40, 63, 265, 103, "Kill ", false, wnd) 
        guiSetFont(btn, "sa-header")     
  
addEventHandler("onClientGUIClick",root, 
function() 
     if ( source == btn ) then 
     setElementHealth(localPlayer,0) 
     outputChatBox("تم الانتحار",255,2,2,true) 
     end 
end 
) 
  
bindKey("o", "down",  
guiSetVisible(wnd,not guiGetVisible(wnd) 
showCursor(guiGetVisible(wnd)) 
end) 
  

ميزو شوف اظهار كلام بالشات هو مشكلته السترنج اين واكواد الالوان

Link to comment

wnd = guiCreateWindow(467, 243, 348, 205, "", false) 
        guiWindowSetSizable(wnd, false) 
      guiSetVisible( wnd, false) 
  
        btn = guiCreateButton(40, 63, 265, 103, "Kill ", false, wnd) 
        guiSetFont(btn, "sa-header")     
  
addEventHandler("onClientGUIClick",root, 
function() 
     if ( source == btn ) then 
triggerServerEvent ("kill",localPlayer) 
     end 
end) 
  
function Open() 
guiSetVisible (wnd,not guiGetVisible(wnd)) 
showCursor (guiGetVisible(wnd)) 
end 
bindKey("o", "down", Open) 
Link to comment

wnd = guiCreateWindow(467, 243, 348, 205, "", false) 
        guiWindowSetSizable(wnd, false) 
      guiSetVisible( wnd, false) 
  
        btn = guiCreateButton(40, 63, 265, 103, "Kill ", false, wnd) 
        guiSetFont(btn, "sa-header")     
  
addEventHandler("onClientGUIClick",root, 
function() 
     if ( source == btn ) then 
triggerServerEvent ("kill",localPlayer) 
     end 
end) 
  
function Open() 
guiSetVisible (wnd,not guiGetVisible(wnd)) 
showCursor (guiGetVisible(wnd)) 
end 
bindKey("o", "down", Open) 
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...