Jump to content

وشو الغلط


Recommended Posts

Posted

السلام عليكم ورحمة الله وبركاته

وشو الغلط هون ؟

  
local screenWidth, screenHeight = guiGetScreenSize ( ) -- Get the screen resolution (width and height) 
  
  
function createText ( ) 
local hi = helo 
 dxDrawText(hi,600, screenHeight - 43, screenWidth, screenHeight, tocolor ( 255, 255, 255, 255 ), 1, "default-bold" )  
  
end 
 addEventHandler ( "onClientRender", root, createText ) 
  

local hi = helo

dxDrawText(hi,600, screenHeight - 43, screenWidth, screenHeight, tocolor ( 255, 255, 255, 255 ), 1, "default-bold" )

local hi = hello < i think here problem and.

dxDrawText(hi, << that shortcut please help me

Level in Scripting : 37%

Level in MTA : 100%

Language in English : 100%

Posted
      
    local screenWidth, screenHeight = guiGetScreenSize ( ) -- Get the screen resolution (width and height) 
      
      
    function createText ( ) 
    local hi = helo 
     dxDrawText("hi",600, screenHeight - 43, screenWidth, screenHeight, tocolor ( 255, 255, 255, 255 ), 1, "default-bold" ) 
      
    end 
     addEventHandler ( "onClientRender", root, createText ) 
      

Posted
local screenWidth, screenHeight = guiGetScreenSize ( ) 
      
      
    function createText ( ) 
    local hi = "helo" 
     dxDrawText(hi,600, screenHeight - 43, screenWidth, screenHeight, tocolor ( 255, 255, 255, 255 ), 1, "default-bold" ) 
      
    end 
     addEventHandler ( "onClientRender", root, createText ) 

Skype : aboshanab_

Posted

طيب كيف اخلي اللوحة تفتح و تقفل بزر ؟

Level in Scripting : 37%

Level in MTA : 100%

Language in English : 100%

Posted

مثال على فتح الللوحة بال dx

local screenWidth, screenHeight = guiGetScreenSize ( ) 
Visible = false 
  
function createText ( ) 
    if Visible == true then 
        local hi = "helo" 
        dxDrawText(hi,600, screenHeight - 43, screenWidth, screenHeight, tocolor ( 255, 255, 255, 255 ), 1, "default-bold" ) 
    end 
end 
addEventHandler ( "onClientRender", root, createText ) 
  
bindKey("f1", "down", function( ) 
    Visible = not Visible 
end ) 

skype : 011101000110111000110110011001010110110000110000001110010011000000111001

Posted
مثال على فتح الللوحة بال dx
local screenWidth, screenHeight = guiGetScreenSize ( ) 
Visible = false 
  
function createText ( ) 
    if Visible == true then 
        local hi = "helo" 
        dxDrawText(hi,600, screenHeight - 43, screenWidth, screenHeight, tocolor ( 255, 255, 255, 255 ), 1, "default-bold" ) 
    end 
end 
addEventHandler ( "onClientRender", root, createText ) 
  
bindKey("f1", "down", function( ) 
    Visible = not Visible 
end ) 

مثالكـ خأطء

ي اخ تقصد لوحة يوم يضغط ع زر ؟ ولا بيند

To Contact Me at Skype : [email protected]

Posted
مثال على فتح الللوحة بال dx
local screenWidth, screenHeight = guiGetScreenSize ( ) 
Visible = false 
  
function createText ( ) 
    if Visible == true then 
        local hi = "helo" 
        dxDrawText(hi,600, screenHeight - 43, screenWidth, screenHeight, tocolor ( 255, 255, 255, 255 ), 1, "default-bold" ) 
    end 
end 
addEventHandler ( "onClientRender", root, createText ) 
  
bindKey("f1", "down", function( ) 
    Visible = not Visible 
end ) 

مثالكـ خأطء

وين الخطأ ؟

Posted
مثال على فتح الللوحة بال dx
local screenWidth, screenHeight = guiGetScreenSize ( ) 
Visible = false 
  
function createText ( ) 
    if Visible == true then 
        local hi = "helo" 
        dxDrawText(hi,600, screenHeight - 43, screenWidth, screenHeight, tocolor ( 255, 255, 255, 255 ), 1, "default-bold" ) 
    end 
end 
addEventHandler ( "onClientRender", root, createText ) 
  
bindKey("f1", "down", function( ) 
    Visible = not Visible 
end ) 

مثالكـ خأطء

وين الخطأ ؟

removeEventHandler الخطأ مو الكود ما يشتغل .. بس الافضل يستخدم

onClientClick : بعدين صاحب الطلب قصده ع الاغلب زر دي اكس ولو كذا المفروض يستخدم

To Contact Me at Skype : [email protected]

Posted
^ انت اتهمت الرجال أن كوده خطأ ما قلت افضل ما افضل -_-"

صحيح كلامكـ كان المفروض اقوله الافضل استخدم ريموف

بس يوم يكون الكود تركيبته او الاستخدام فيه خطاء تقول انه كود خطأ

بـ كل جزء من الثانية visble لانه بالطريقة حقه جالس يتحقق من المتغير

To Contact Me at Skype : [email protected]

Posted

اصلا انا ساكت عشان كودي صح واذ قلت له صح راح ينقلب الموضوع والسكوت من ذهب

skype : 011101000110111000110110011001010110110000110000001110010011000000111001

Posted
اصلا انا ساكت عشان كودي صح واذ قلت له صح راح ينقلب الموضوع والسكوت من ذهب

كودكـ صحيح .. بس الطريقة حقه غلط

انا كذا كنت اقصد .. بس ما وضحت كلامي ذذ

To Contact Me at Skype : [email protected]

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...