Jump to content

طلب شباب


Recommended Posts

  
onClientRender 
onClientGUIClick 
guiGetScreenSize 
dxDrawText 
dxCreateFont 
guiGetText 
triggerServerEvent 
triggerClientEvent 
addEvent 
addEventHandler 

كذا صح ؟

addEventHandler("onClientRender", root, 
    function() 
    local sx,sy = guiGetScreenSize () 
        dxDrawText("", 105 - 1, 0 - 1, 712 - 1, 49 - 1, tocolor(0, 0, 0, 255), 1.00, "pricedown", "left", "top", false, false, false, true, false) 
        dxDrawText("", 105 + 1, 0 - 1, 712 + 1, 49 - 1, tocolor(0, 0, 0, 255), 1.00, "pricedown", "left", "top", false, false, false, true, false) 
        dxDrawText("", 105 - 1, 0 + 1, 712 - 1, 49 + 1, tocolor(0, 0, 0, 255), 1.00, "pricedown", "left", "top", false, false, false, true, false) 
        dxDrawText("", 105 + 1, 0 + 1, 712 + 1, 49 + 1, tocolor(0, 0, 0, 255), 1.00, "pricedown", "left", "top", false, false, false, true, false) 
        dxDrawText("", 105, 0, 712, 49, tocolor(255, 255, 255, 255), 1.00, "pricedown", "left", "top", false, false, false, true, false) 
    end 
) 
----------- 
addEventHandler ( "onClientGUIClick", root, 
function (  ) 
if source == Button then 
local aa = guiGetText(money) 
triggerServerEvent ( "hassan", localPlayer , aa ) 
end 
end 
) 
  
------------------------------------------------------------------------------------------------------------------------------- 
addEvent ( "hassan" , true ) 
addEventHandler ( "hassan" , root, 
function (aa) 
outputChatBox (tostring(aa), root, 12, 144, 42) 
 end 
) 

Link to comment
اذا تبيه لكل اللاعبين .. سوي ترايقر !

أعتقد كلآمي مفهوم ؟

ما صار شيئ

كلنت

addEventHandler ( "onClientGUIClick", root, 
function (  ) 
if source == set then 
local aa = guiGetText(edit) 
local sx,sy = guiGetScreenSize () 
local sx,sy = guiGetScreenSize () 
dxDrawText("", 105 - 1, 0 - 1, 712 - 1, 49 - 1, tocolor(0, 0, 0, 255), 1.00, "pricedown", "left", "top", false, false, false, true, false) 
dxDrawText("", 105 + 1, 0 - 1, 712 + 1, 49 - 1, tocolor(0, 0, 0, 255), 1.00, "pricedown", "left", "top", false, false, false, true, false) 
dxDrawText("", 105 - 1, 0 + 1, 712 - 1, 49 + 1, tocolor(0, 0, 0, 255), 1.00, "pricedown", "left", "top", false, false, false, true, false) 
dxDrawText("", 105 + 1, 0 + 1, 712 + 1, 49 + 1, tocolor(0, 0, 0, 255), 1.00, "pricedown", "left", "top", false, false, false, true, false) 
dxDrawText("", 105, 0, 712, 49, tocolor(255, 255, 255, 255), 1.00, "pricedown", "left", "top", false, false, false, true, false) 
triggerServerEvent ( "hassan", localPlayer , aa ) 
  end 
end ) 

سيرفر

addEvebt ( "hassan" , true ) 
addEventHandler ( "hassan" , root, 
function (aa) 
for k, v in ipairs ( getElementsByType ( "player" ) ) do 
 end 
) 

Link to comment

if source == set then 

آيش هذا ؟؟؟؟؟؟؟؟؟؟؟؟

local aa = guiGetText(edit) 

:-k وين الآديت ؟

local sx,sy = guiGetScreenSize () 
local sx,sy = guiGetScreenSize () 

ليه مكرر المتغير وأنت أصلاً ما أستخدمت ولا وآحد ؟

addEvebt ( "hassan" , true ) 

:-k :-k

function (aa) 

ليه نقلت الي كتبه بالشيء المجهول وأنت آصلاً ما أستخدمته ؟

for k, v in ipairs ( getElementsByType ( "player" ) ) do 

سويت لوب للاعبين وما أستخدمته ؟ :-k

لا وفوق كل ذا حآط لي أنشاء التكست الدي أكس دآخل أيفينت الضغط ع الالمنت GUI :lol::lol:

أقولكككككك خرآبيط

:bazooka::bazooka::bazooka::bazooka::bazooka::bazooka::bazooka::bazooka::bazooka::bazooka::bazooka::bazooka::bazooka::bazooka::bazooka::bazooka::bazooka::bazooka::bazooka::bazooka::bazooka::bazooka::bazooka::bazooka::bazooka::bazooka:

Link to comment

ماجربته ..

  -- Client 
   
  text = '' 
  addEventHandler("onClientRender", root, 
    function() 
    local sx,sy = guiGetScreenSize () 
        dxDrawText(text, 105 - 1, 0 - 1, 712 - 1, 49 - 1, tocolor(0, 0, 0, 255), 1.00, "pricedown", "left", "top", false, false, false, true, false) 
        dxDrawText(text, 105 + 1, 0 - 1, 712 + 1, 49 - 1, tocolor(0, 0, 0, 255), 1.00, "pricedown", "left", "top", false, false, false, true, false) 
        dxDrawText(text, 105 - 1, 0 + 1, 712 - 1, 49 + 1, tocolor(0, 0, 0, 255), 1.00, "pricedown", "left", "top", false, false, false, true, false) 
        dxDrawText(text, 105 + 1, 0 + 1, 712 + 1, 49 + 1, tocolor(0, 0, 0, 255), 1.00, "pricedown", "left", "top", false, false, false, true, false) 
        dxDrawText(text, 105, 0, 712, 49, tocolor(255, 255, 255, 255), 1.00, "pricedown", "left", "top", false, false, false, true, false) 
    end 
) 
----------- 
addEventHandler ( "onClientGUIClick", root, 
function (  ) 
if source == Button then 
local aa = guiGetText(money) 
triggerServerEvent ( "hassan", localPlayer , aa ) 
end 
end 
) 
  
addEvent('Send',true) 
addEventHandler('Send',root, function ( msg ) 
text = tostring(msg) 
end) 
  
 ---- Server 
  
  
addEvent('hassan',true) 
addEventHandler('hassan', root , function ( msg ) 
for i,v in ipairs ( getElementsByType('player') ) do  
triggerClientEvent(v,'Send',v,msg) 
end 
end) 

Link to comment
ماجربته ..
  -- Client 
   
  text = '' 
  addEventHandler("onClientRender", root, 
    function() 
    local sx,sy = guiGetScreenSize () 
        dxDrawText(text, 105 - 1, 0 - 1, 712 - 1, 49 - 1, tocolor(0, 0, 0, 255), 1.00, "pricedown", "left", "top", false, false, false, true, false) 
        dxDrawText(text, 105 + 1, 0 - 1, 712 + 1, 49 - 1, tocolor(0, 0, 0, 255), 1.00, "pricedown", "left", "top", false, false, false, true, false) 
        dxDrawText(text, 105 - 1, 0 + 1, 712 - 1, 49 + 1, tocolor(0, 0, 0, 255), 1.00, "pricedown", "left", "top", false, false, false, true, false) 
        dxDrawText(text, 105 + 1, 0 + 1, 712 + 1, 49 + 1, tocolor(0, 0, 0, 255), 1.00, "pricedown", "left", "top", false, false, false, true, false) 
        dxDrawText(text, 105, 0, 712, 49, tocolor(255, 255, 255, 255), 1.00, "pricedown", "left", "top", false, false, false, true, false) 
    end 
) 
----------- 
addEventHandler ( "onClientGUIClick", root, 
function (  ) 
if source == Button then 
local aa = guiGetText(money) 
triggerServerEvent ( "hassan", localPlayer , aa ) 
end 
end 
) 
  
addEvent('Send',true) 
addEventHandler('Send',root, function ( msg ) 
text = tostring(msg) 
end) 
  
 ---- Server 
  
  
addEvent('hassan',true) 
addEventHandler('hassan', root , function ( msg ) 
for i,v in ipairs ( getElementsByType('player') ) do  
triggerClientEvent(v,'Send',v,msg) 
end 
end) 

كان فيه بعض الاخطاء صححتهم

بس ما يطلع شيئ والدي بوق ما يطلع ولا خطا

Link to comment
ماجربته ..
  -- Client 
   
  text = '' 
  addEventHandler("onClientRender", root, 
    function() 
    local sx,sy = guiGetScreenSize () 
        dxDrawText(text, 105 - 1, 0 - 1, 712 - 1, 49 - 1, tocolor(0, 0, 0, 255), 1.00, "pricedown", "left", "top", false, false, false, true, false) 
        dxDrawText(text, 105 + 1, 0 - 1, 712 + 1, 49 - 1, tocolor(0, 0, 0, 255), 1.00, "pricedown", "left", "top", false, false, false, true, false) 
        dxDrawText(text, 105 - 1, 0 + 1, 712 - 1, 49 + 1, tocolor(0, 0, 0, 255), 1.00, "pricedown", "left", "top", false, false, false, true, false) 
        dxDrawText(text, 105 + 1, 0 + 1, 712 + 1, 49 + 1, tocolor(0, 0, 0, 255), 1.00, "pricedown", "left", "top", false, false, false, true, false) 
        dxDrawText(text, 105, 0, 712, 49, tocolor(255, 255, 255, 255), 1.00, "pricedown", "left", "top", false, false, false, true, false) 
    end 
) 
----------- 
addEventHandler ( "onClientGUIClick", root, 
function (  ) 
if source == Button then 
local aa = guiGetText(money) 
triggerServerEvent ( "hassan", localPlayer , aa ) 
end 
end 
) 
  
addEvent('Send',true) 
addEventHandler('Send',root, function ( msg ) 
text = tostring(msg) 
end) 
  
 ---- Server 
  
  
addEvent('hassan',true) 
addEventHandler('hassan', root , function ( msg ) 
for i,v in ipairs ( getElementsByType('player') ) do  
triggerClientEvent(v,'Send',v,msg) 
end 
end) 

كان فيه بعض الاخطاء صححتهم

بس ما يطلع شيئ والدي بوق ما يطلع ولا خطا

شوف هنا

viewtopic.php?f=160&t=89662&p=806656&hilit=%D9%85%D9%88%D8%AF+%D8%A7%D9%84%D8%B9%D8%A7%D8%AC%D9%84#p806656

مو لازم نستعمل

table.concat 

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