فاّرس Posted August 25, 2013 Share Posted August 25, 2013 جرب, addEventHandler("onClientPlayerJoin",root, function() text = "The Player ["..getPlayerName(source).."] Join The Server" addEventHandler("onClientRender", root,Render) if isTimer(theHell) then killTimer(theHell) end theHell = setTimer(removeEventHandler, 10000, 1,'onClientRender',root,Render) end) function Render() dxDrawText(text, 11, 228, 335, 265, tocolor(252, 84, 1, 255), 1.50, "default-bold", "left", "top", false, false, true, false, false) end Link to comment
The King Posted August 25, 2013 Author Share Posted August 25, 2013 جرب, addEventHandler("onClientPlayerJoin",root, function() text = "The Player ["..getPlayerName(source).."] Join The Server" addEventHandler("onClientRender", root,Render) if isTimer(theHell) then killTimer(theHell) end theHell = setTimer(removeEventHandler, 10000, 1,'onClientRender',root,Render) end) function Render() dxDrawText(text, 11, 228, 335, 265, tocolor(252, 84, 1, 255), 1.50, "default-bold", "left", "top", false, false, true, false, false) end ابي الكل يشوفه Link to comment
فاّرس Posted August 25, 2013 Share Posted August 25, 2013 جرب, كلنت, addEvent('Join',true) addEventHandler("Join",root, function(Name) Text = "The Player ["..Name.."] Join The Server" if isTimer(Timer) then killTimer(Timer) end Timer = setTimer(function() Text = "" end, 10000, 1) end ) addEventHandler("onClientRender", root, function () dxDrawText(Text, 11, 228, 335, 265, tocolor(252, 84, 1, 255), 1.50, "default-bold", "left", "top", false, false, true, false, false) end ) سيرفر, addEventHandler('onPlayerJoin',root, function() local Name = getPlayerName(source) triggerClientEvent(root,'Join',root,Name) end ) Link to comment
The King Posted August 25, 2013 Author Share Posted August 25, 2013 جرب,كلنت, addEvent('Join',true) addEventHandler("Join",root, function(Name) Text = "The Player ["..Name.."] Join The Server" if isTimer(Timer) then killTimer(Timer) end Timer = setTimer(function() Text = "" end, 10000, 1) end ) addEventHandler("onClientRender", root, function () dxDrawText(Text, 11, 228, 335, 265, tocolor(252, 84, 1, 255), 1.50, "default-bold", "left", "top", false, false, true, false, false) end ) سيرفر, addEventHandler('onPlayerJoin',root, function() local Name = getPlayerName(source) triggerClientEvent(root,'Join',root,Name) end ) كفو ذا بست ماقصرت الله يعطيك العافية Link to comment
فاّرس Posted August 25, 2013 Share Posted August 25, 2013 عندي احساس انه بيطلع خطأ بالديبوق ذذ, ضيف هذا اول الكود, local Text = '' ^ كلنت Link to comment
TAPL Posted August 25, 2013 Share Posted August 25, 2013 جرب كلينت فقط addEventHandler("onClientPlayerJoin", root, function() text = "The Player ["..getPlayerName(source).."] Join The Server" if isTimer(theHell) then killTimer(theHell) end theHell = setTimer(function() text = "" end, 10000, 1) end) addEventHandler("onClientRender", root, function() dxDrawText(text, 11, 228, 335, 265, tocolor(252, 84, 1, 255), 1.50, "default-bold", "left", "top", false, false, true, false, false) end) ؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟ برب انتحار Link to comment
AboShanab Posted August 25, 2013 Share Posted August 25, 2013 جرب كلينت فقط addEventHandler("onClientPlayerJoin", root, function() text = "The Player ["..getPlayerName(source).."] Join The Server" if isTimer(theHell) then killTimer(theHell) end theHell = setTimer(function() text = "" end, 10000, 1) end) addEventHandler("onClientRender", root, function() dxDrawText(text, 11, 228, 335, 265, tocolor(252, 84, 1, 255), 1.50, "default-bold", "left", "top", false, false, true, false, false) end) ؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟ برب انتحار بالتوفيق .. الله يغفر لك ذنوبك .. Link to comment
فاّرس Posted August 25, 2013 Share Posted August 25, 2013 ؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟ برب انتحار Link to comment
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now