ما بدها علم فيزياء خذ ذا مثال
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)