Doffy Posted May 11, 2017 Share Posted May 11, 2017 ابي الواحد اذا جاب لفل يجي في الجيو ميسيج رسالة لكل اللاعبين ويجي اسم اللاعب وكم صار لفله محاولتي function checkLevel(plr,Level) c=0 for i,k in ipairs (lev) do c=c+1 if tonumber(getElementData (plr,"Level")) == k[1] and tonumber(getElementData (plr,"exp")) >= k[2] then for o,v in next,lev,c do setElementData (plr,"Level",v[1]) setElementData (plr,"exp",0) setElementData (plr,"nexp",v[2]) 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) exports["guimessages"]:outputServer ( root,"*Congratulations for [" ..plr.. "] his level up to : [" ..Level.. "]", 255, 255, 0,true) local x, y, z = getElementPosition ( plr ) createExplosion ( x, y + 5, z , 7, plr ) createExplosion ( x, y + 20, z , 8, plr ) createExplosion ( x, y + 10, z , 9, plr ) createExplosion ( x, y + 15, z , 10, plr ) createExplosion ( x + 10, y, z , 11, plr ) createExplosion ( x, y + 18, z , 12, plr ) setElementHealth(plr, 200) setPedArmor(plr, 100) end break end end end end Link to comment
Doffy Posted May 11, 2017 Author Share Posted May 11, 2017 1 hour ago, #BrosS said: debugscript 3 ما يجيني شي Link to comment
#BrosS Posted May 11, 2017 Share Posted May 11, 2017 true شيل من الاكسبورت حق الجيو مسج 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