Jump to content

طلب كود


Mhmd.z

Recommended Posts

Posted

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

ابي اعرف كيف استعمل ال ايديت ؟ يعني مثلا الاعب يبي يكتب بالايديت كلام وبعدها يضغط زر ييجي الكلام ذا بالشات وكذه edit

Posted
مو فاهم كيف ..

ما بدها علم فيزياء خذ ذا مثال

addEventHandler ( "onClientGUIClick", root, 
function (  ) 
if source == Button then 
local hassan = guiGetText(NameEdit) 
triggerServerEvent ( "Trigger", localPlayer , hassan ) 
end 
end 
) 
  
addEvent ( 'Trigger' , true ) 
addEventHandler ( 'Trigger' , root, 
function (hassan) 
outputChatBox (tostring(hassan), source, 12, 144, 42) 
 end 
) 

Posted
مو فاهم كيف ..

ما بدها علم فيزياء خذ ذا مثال

addEventHandler ( "onClientGUIClick", root, 
function (  ) 
if source == Button then 
local hassan = guiGetText(NameEdit) 
triggerServerEvent ( "Trigger", localPlayer , hassan ) 
end 
end 
) 
  
addEvent ( 'Trigger' , true ) 
addEventHandler ( 'Trigger' , root, 
function (hassan) 
outputChatBox (tostring(hassan), source, 12, 144, 42) 
 end 
) 

outputChatBox (tostring(hassan), source, 12, 144, 42)

TO

outputChatBox (tostring(hassan), root, 12, 144, 42)

Posted
مو فاهم كيف ..

ما بدها علم فيزياء خذ ذا مثال

addEventHandler ( "onClientGUIClick", root, 
function (  ) 
if source == Button then 
local hassan = guiGetText(NameEdit) 
triggerServerEvent ( "Trigger", localPlayer , hassan ) 
end 
end 
) 
  
addEvent ( 'Trigger' , true ) 
addEventHandler ( 'Trigger' , root, 
function (hassan) 
outputChatBox (tostring(hassan), source, 12, 144, 42) 
 end 
) 

outputChatBox (tostring(hassan), source, 12, 144, 42)

TO

outputChatBox (tostring(hassan), root, 12, 144, 42)

انا جربت الكود وشغال

عادي لو سورس لانه سيرفر وحدث

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