AvTaR~ Posted July 27, 2015 Share Posted July 27, 2015 السلام عليكم اخوانى. انا عندى سيرفر زومبى وابى كل ما واحد يسجل حساب يجيلو فلوس واسلحه لمره واحده ارجو الرد تكفون Link to comment
#CroSs Posted July 27, 2015 Share Posted July 27, 2015 addAccount --- عدل على اللوحة في setAccountData --- خلي اسم الداتا نفس الداتا حق الفلوس والقيمة هي الفلوس إلي تبيها ملاحظة : لازم مود حفظ الفلوس على الحساب مركب عشان انت تبي لما يضيف حساب جديد مو لما يسجل دخول Link to comment
; Mr.T76eM # Posted July 27, 2015 Share Posted July 27, 2015 function give() local playeraccount = getPlayerAccount ( source ) if getAccountData(playeraccount,"given") == true then return end setAccountData(playeraccount,"given",true) giveWeapon(source,x) -- replace x wit the ID of the weapon . givePlayerMoney(source,x) --^ the same ( amount of money ) outputChatBox("تـم اعطـآكـ أسلحـة ونقود",source,255,255,0,true) end addEventHandler("onPlayerLogin",root,give) تـفضل . موفق Link to comment
AvTaR~ Posted July 27, 2015 Author Share Posted July 27, 2015 مشكور اخى ما قصرت والله 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