slamdank01 Posted January 30, 2016 Posted January 30, 2016 function () local Account = getPlayerAccount (source) if not Account or isGuestAccount ( account ) then return end setAccountData ( Account , "Kill", getAccountData (source) ) end -- end -- ) -- addEventHandler("onPlayerLogin", root, function () local data = getAccountData (acc,"Kill") ig (Data) then setAccountData (surce, Data) end end ) وش الخطأ ي عيال ابغاه يحفظ عدد القتل في السيرفر بس مو راضي
#Mr.Rajo~,< Posted January 30, 2016 Posted January 30, 2016 function () local Account = getPlayerAccount (source) if not Account or isGuestAccount ( account ) then return end setAccountData ( Account , "Kill", getAccountData (source) ) end -- end -- ) -- addEventHandler("onPlayerLogin", root, function () local data = getAccountData (acc,"Kill") ig (Data) then setAccountData (surce, Data) end end ) وش الخطأ ي عيال ابغاه يحفظ عدد القتل في السيرفر بس مو راضي وش ig ?
Ja[B]er[X]Pro Posted January 30, 2016 Posted January 30, 2016 function () local Account = getPlayerAccount (source) if not Account or isGuestAccount ( account ) then return end setAccountData ( Account , "Kill", getAccountData (source) ) end -- end -- ) -- addEventHandler("onPlayerLogin", root, function () local data = getAccountData (acc,"Kill") ig (Data) then setAccountData (surce, Data) end end ) وش الخطأ ي عيال ابغاه يحفظ عدد القتل في السيرفر بس مو راضي وش ig ? يقصد if facebooke : https://www.facebook.com/jaber.pro skype : delete Email : [email protected] احلام الناس لا نهاية لهالا يجدر بنا القلق على مقدرتنا لتحقيق أحلامنا ما دمنا نمتلك الرغبة في تحقيقها
slamdank01 Posted January 30, 2016 Author Posted January 30, 2016 function () local Account = getPlayerAccount (source) if not Account or isGuestAccount ( account ) then return end setAccountData ( Account , "Kill", getAccountData (source) ) end -- end -- ) -- addEventHandler("onPlayerLogin", root, function () local data = getAccountData (acc,"Kill") ig (Data) then setAccountData (surce, Data) end end ) وش الخطأ ي عيال ابغاه يحفظ عدد القتل في السيرفر بس مو راضي وش ig ? اقصد if بس جربته وما ضبط حطيت اسم الملف data.lua وحطيت داخل ملف meta كذا
Jupi Posted January 30, 2016 Posted January 30, 2016 الفنكشنات كلها سيرفر اللي فيه خليهاserver : ) و الفنكشن حقك مو مربوط بأيفينت يعني ما فيه source addEventHandler("onPlayerLogin", root, function () local data = getAccountData (getPlayerAccount(source),"Kill") if (data) then setAccountData (source, data) end end ) صلحت هذا الجزء اللي فوق ما اعرف اي ايفينت مربوط له مدري كيف اصلحه
slamdank01 Posted January 30, 2016 Author Posted January 30, 2016 طيب ي عيال سويت الاكواد وكل شي بالضبط لاكن ما رضي يحفظ القتلات في التاب
xBeSoOo Posted January 31, 2016 Posted January 31, 2016 سويتلك الكود اضنك تقصد كذا ؟ addEventHandler ( "onPlayerQuit", getRootElement(), function () local acc = getPlayerAccount (source) if ( acc ) and not isGuestAccount ( acc ) then local KillData = getElementData (source,"اسم داتا القتل الي موجودة في مود التاب") setAccountData (acc,"KillSave",KillData) end end ) addEventHandler ( 'onPlayerLogin', getRootElement ( ), function (-,acc) local GetKills = getAccountData (acc,"KillSave") if ( acc ) and GetKills then setElementData (source,"اسم داتا القتل الي موجودة في مود التاب",GetKills) end end ) Programing lua level 43 % my Nick in Mta :^Wolf or MR>SFA7<3 Skype: bossho11 My BestFriends: Strong & MR.CoR & DABL & MeZoO
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