oPIXz Posted February 20, 2014 Posted February 20, 2014 (edited) السلام عليكم شباب فالكود هذا أبي الرانك حق اللاعب يطلع بعد النك بس مو راضي ؟ if localPlayerDistance == g_TotalDistance then return end local fontColor = getColor("font2") local backgroundColor = getColor("background2") local width, height = guiGetScreenSize() dxDrawRectangle(x - 10,localPlayerLevel,21,2,fontColor) if showLocalPlayer then local textWidth = dxGetTextWidth(localPlayerName,fontScale,font) local leftX = x - textWidth - 25 local topY = localPlayerLevel - fontHeight / 2 local Rank = exports["race"]:getPlayerRank(player) drawText(localPlayerName .."*" ..Rank,leftX,topY,fontColor,backgroundColor) كيف أخليه يعطيني الرانك ؟؟ الكود مو كامل بس المشكلة هنا بدون أضافة الرانك يشتغل %100 Edited February 20, 2014 by Guest
oPIXz Posted February 20, 2014 Author Posted February 20, 2014 local Rank = exports["race"]:getPlayerRank(player) هل هو صحيح بس سيرفر؟
oPIXz Posted February 20, 2014 Author Posted February 20, 2014 طيب كيف أسويه هنا بال triggerServerEvent ؟
oPIXz Posted February 21, 2014 Author Posted February 21, 2014 شكراً حبيبي بس انحلت المشكلة في قسم البرمجة العام للفائدة في الكلنت مفروض استعمل بدل اللي فوق local rank = getElementData(getLocalPlayer() , "race rank") or 0 اشوف مشرفين دخلوا ولا احد رد المفروض هم اولى يساعدون الناس
#DRAGON!FIRE Posted February 21, 2014 Posted February 21, 2014 شكراً حبيبيبس انحلت المشكلة في قسم البرمجة العام للفائدة في الكلنت مفروض استعمل بدل اللي فوق local rank = getElementData(getLocalPlayer() , "race rank") or 0 اشوف مشرفين دخلوا ولا احد رد المفروض هم اولى يساعدون الناس . بجانب سيرفر فقط getPlayerRank يب .. لانه
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