MeZo999 Posted September 16, 2013 Share Posted September 16, 2013 ابي كود كامل او مود يخفظ اسلحة الاعب في سيرفري اذا الاعب يموت يروحو اسلحتة واذا خرج ودخل تروح كمان ساعدووووووووني Link to comment
xFace[B]ook Posted September 16, 2013 Share Posted September 16, 2013 executeSQLQuery <<< Link to comment
#DRAGON!FIRE Posted September 16, 2013 Share Posted September 16, 2013 # ; شف عندكـ 3 طرق setAccountData or SQL or xml # ولطلبكـ , انصصحكـ واسهل لكـ وسهلة مرة , الأكأونت داتا , Link to comment
MeZo999 Posted September 16, 2013 Author Share Posted September 16, 2013 اخي ممكن تجيب لي الكود هنا لانو دخلت ما فهمت اشي هلانت Link to comment
iPrestege Posted September 16, 2013 Share Posted September 16, 2013 -- by Solidsnake14. local playerWeapons = { } addEventHandler ( "onPlayerWasted", root, function ( ) if ( not playerWeapons [ source ] ) then playerWeapons [ source ] = { } end for slot = 0, 12 do local weapon = getPedWeapon ( source, slot ) if ( weapon > 0 ) then local ammo = getPedTotalAmmo ( source, slot ) if ( ammo > 0 ) then playerWeapons [ source ] [ weapon ] = ammo end end end end ) addEventHandler ( "onPlayerSpawn", root, function ( ) if ( playerWeapons [ source ] ) then for weapon, ammo in pairs ( playerWeapons [ source ] ) do giveWeapon ( source, tonumber ( weapon ), tonumber ( ammo ) ) end end playerWeapons [ source ] = nil end ) طبعاَ يحتاج تعدلة عشان يوم يخرج .. تجيب الجدول و تخزنة في داتا وتسترجع القيم يوم يسجل دخولة .. Link to comment
MeZo999 Posted September 16, 2013 Author Share Posted September 16, 2013 مستر برستيييييييييييييييج شكرااااا خيوووووووووووووووي شو بدك مقاااااااااااابل انا جااااااااااااهز حبيبي + تسلملي ولله وشكراا لك Link to comment
iPrestege Posted September 18, 2013 Share Posted September 18, 2013 You're welcome DD. 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