Doffy Posted February 14, 2017 Share Posted February 14, 2017 Dx ابي اول ما اللاعب يجيب لفل جديد تجيله رسالة علي شاشته وتقعد 3 ثواني Link to comment
iMr.WiFi..! Posted February 14, 2017 Share Posted February 14, 2017 (edited) وش تقصد بلفل ؟ Edited February 14, 2017 by iMr.WiFi..! Link to comment
Doffy Posted February 14, 2017 Author Share Posted February 14, 2017 Just now, iMr.WiFi..! said: وش تقصد بلفل ؟ مود لفل حق زومبي تبعي Link to comment
iMr.WiFi..! Posted February 14, 2017 Share Posted February 14, 2017 عند مود اللفل دور عن حدث لما ياخذ لفل جديد وحط الديي اكس حقك وسويله تايمر Link to comment
Doffy Posted February 14, 2017 Author Share Posted February 14, 2017 Just now, iMr.WiFi..! said: عند مود اللفل دور عن حدث لما ياخذ لفل جديد وحط الديي اكس حقك وسويله تايمر طيب هذا هو اول ما يجيب لفل ٍسيرفر if getPlayerAccount(plr) and not isGuestAccount(getPlayerAccount(plr)) then setAccountData (getPlayerAccount(plr),"Level",v[1]) setAccountData (getPlayerAccount(plr),"exp",0) setAccountData (getPlayerAccount(plr),"nexp",v[2]) triggerClientEvent("levelup",plr) ومسوي ترايقر للكلنت وابي الرسالة تجيله لمدة 3 ثواني وتختفي كلنت addEvent("levelup",true) addEventHandler("levelup",localPlayer, function() playSound ("Levelup.mp3") exports["TopBarChat"]:sendClientMessage ("#FF0000*#FFFF00Congratulations Your Level is up ",255, 50, 0,true,5) end) وهذي الدي اكس addEventHandler("onClientRender", root, function() dxDrawText("*Your Level is UP", 258 - 1, 336 - 1, 774 - 1, 412 - 1, tocolor(0, 0, 0, 255), 5.00, "default-bold", "left", "top", false, false, false, true, false) dxDrawText("*Your Level is UP", 258 + 1, 336 - 1, 774 + 1, 412 - 1, tocolor(0, 0, 0, 255), 5.00, "default-bold", "left", "top", false, false, false, true, false) dxDrawText("*Your Level is UP", 258 - 1, 336 + 1, 774 - 1, 412 + 1, tocolor(0, 0, 0, 255), 5.00, "default-bold", "left", "top", false, false, false, true, false) dxDrawText("*Your Level is UP", 258 + 1, 336 + 1, 774 + 1, 412 + 1, tocolor(0, 0, 0, 255), 5.00, "default-bold", "left", "top", false, false, false, true, false) dxDrawText("*Your Level is UP", 258, 336, 774, 412, tocolor(255, 255, 0, 255), 5.00, "default-bold", "left", "top", false, false, false, true, false) end ) Link to comment
iMr.WiFi..! Posted February 14, 2017 Share Posted February 14, 2017 حط هذا الفنكشن في المود في الكلينت : messagelevelup = setTimer(function () -- حط كود الدي اكس هنا end,3000,1) addEventHandler("onClientRender",root,messagelevelup) وامسح السطر الخامس وبدله بهذا messagelevelup() 1 Link to comment
Doffy Posted February 14, 2017 Author Share Posted February 14, 2017 1 minute ago, iMr.WiFi..! said: حط هذا الفنكشن في المود في الكلينت : messagelevelup = setTimer(function () -- حط كود الدي اكس هنا end,3000,1) addEventHandler("onClientRender",root,messagelevelup) وامسح السطر الخامس وبدله بهذا messagelevelup() شكرا يخوي دقيقة اجرب Link to comment
Master_MTA Posted February 14, 2017 Share Posted February 14, 2017 39 minutes ago, KinG_Himoo12 said: شكرا يخوي دقيقة اجرب افضل طريقه لك يقلبي هي هذي addEvent("levelup",true) addEventHandler("levelup",localPlayer, function() playSound ("Levelup.mp3") addEventHandler("onClientRender", root,masteredit) setTimer(function() removeEventHandler("onClientRender", root,masteredit) end,1000*7,1) end) function masteredit() dxDrawText("*Your Level is UP", 258 - 1, 336 - 1, 774 - 1, 412 - 1, tocolor(0, 0, 0, 255), 5.00, "default-bold", "left", "top", false, false, false, true, false) dxDrawText("*Your Level is UP", 258 + 1, 336 - 1, 774 + 1, 412 - 1, tocolor(0, 0, 0, 255), 5.00, "default-bold", "left", "top", false, false, false, true, false) dxDrawText("*Your Level is UP", 258 - 1, 336 + 1, 774 - 1, 412 + 1, tocolor(0, 0, 0, 255), 5.00, "default-bold", "left", "top", false, false, false, true, false) dxDrawText("*Your Level is UP", 258 + 1, 336 + 1, 774 + 1, 412 + 1, tocolor(0, 0, 0, 255), 5.00, "default-bold", "left", "top", false, false, false, true, false) dxDrawText("*Your Level is UP", 258, 336, 774, 412, tocolor(255, 255, 0, 255), 5.00, "default-bold", "left", "top", false, false, false, true, false) end 1 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