Jump to content

طلب


w7sH

Recommended Posts

Posted

السلام عليكم

ابي كود اذا شراء رتبه من اللوحة تنحذف كل الرتب السابقه اللي عنده وتجيه الجديدة

وابي كود اذا هو عنده رتبت الادمن اكس مايقدر يشتري  رتب

هذا كود أعطاء الرتبه

		aclGroupAddObject (aclGetGroup( tostring(Group)),"user."..account);

 

Posted
17 minutes ago, w7sH said:

السلام عليكم

ابي كود اذا شراء رتبه من اللوحة تنحذف كل الرتب السابقه اللي عنده وتجيه الجديدة

وابي كود اذا هو عنده رتبت الادمن اكس مايقدر يشتري  رتب

هذا كود أعطاء الرتبه


		aclGroupAddObject (aclGetGroup( tostring(Group)),"user."..account);

 

بالنسبه للي ما يقدر يشتري وهو معه ادمن اي اكس

 

if isObjectInACLGroup( "user."..account, aclGetGroup( "Admin - Ex" ) ) then return end

 

Posted
Just now, +Source|> said:

if isObjectInACLGroup( "user."..account, aclGetGroup( "Admin - Ex" ) ) then return end

 

local message = "لآ يمكنك شرآء رتبة آنت آدمن مخآلف" -- آلكلمة آلي تطلع لمآ آحد يجرب يشتري وهو مخآلف
local Rank = Admin-ex -- آلرتبة حقت آلمخآلف بسيرفرك
if isObjectInACLGroup( "user."..account, aclGetGroup( Rank ) ) then return outputChatBox(""..message.."",source,255,0,0,true) end

 

وبآلنسبة لسحب كل رتب آلآعب سوي يوزفل فكشن عن طريق كود

aclGroupRemoveObject

 

330xum0.jpg

p_862d3zvf1.png

* تم آلآفتتآح مرة اخري , حياكم الله *

ip : * mtasa://145.239.212.62:22003 *

330xum0.jpg

Posted

بالطريقه هذي؟
 

removeAcl = aclGroupList ()
for _,v in ipairs (removeAcl) do 
aclGroupRemoveObject ( v, 'user.'..TheAcc)

 

Posted
18 minutes ago, w7sH said:

بالطريقه هذي؟
 


removeAcl = aclGroupList ()
for _,v in ipairs (removeAcl) do 
aclGroupRemoveObject ( v, 'user.'..TheAcc)

 

يب ناقصك اند

سقطت تفاحة واحدة ففهم الأنسان معنى الجاذبية

سقطت الملايين من الجثث ولم يفهم الأنسان معنى الأنسانية

===========

One apple fell and people understood Gravity

Millions of bodies fell and people did not understand the meaning of humanity

Spoiler

SOCIAL MEDIA / التواصل الإجتماعي

~[ p_8157bqso1.png SnapChat : xry-n .  ]~

~[ p_815kbq0c2.png 0506748951 . ]~

 

Posted
removeAcl = aclGroupList ()
for _,v in ipairs (removeAcl) do
aclGroupRemoveObject ( v, 'user.'..TheAcc)
end

 

  • Thanks 1

                                                         هل ساعدتك في شئ ؟؟؟؟

                                                Mmpe7Jm.gif

                                                   latest?cb=20170707023932                 

                                            KillerX#9078

Posted
2 hours ago, N3xT said:

عشان تسحب كل رتب اللاعب إستعمل اليوزفل فنكشن التالي

https://wiki.multitheftauto.com/wiki/GetPlayerAcls

وبعدين استعمل معاه


aclGroupRemoveObject

 

 

  • Like 1

سقطت تفاحة واحدة ففهم الأنسان معنى الجاذبية

سقطت الملايين من الجثث ولم يفهم الأنسان معنى الأنسانية

===========

One apple fell and people understood Gravity

Millions of bodies fell and people did not understand the meaning of humanity

Spoiler

SOCIAL MEDIA / التواصل الإجتماعي

~[ p_8157bqso1.png SnapChat : xry-n .  ]~

~[ p_815kbq0c2.png 0506748951 . ]~

 

Posted
On 5/18/2017 at 18:52, #DRAGON!FIRE said:

هذي الوظيفة انا سويتها من اول واتوقع طرحتها لكن نسيت وين


function removeOtherGroups (  element  ) 
 if ( element and isElement ( element ) ) then 
  if ( getPlayerAccount ( element ) and not isGuestAccount ( getPlayerAccount ( element ) ) ) then 
   for _, v in ipairs( aclGroupList (   ) ) do 
    if ( isObjectInACLGroup ( "user."..getAccountName ( getPlayerAccount ( element ) ), v ) ) then 
           aclGroupRemoveObject ( v, "user."..getAccountName ( getPlayerAccount ( element ) ) ) 
        end 
      end 
    end 
  end 
end

 

وعادي جدا تستخدمها وبعدها تضيفه بالقروب اللي تبغاهـ .

 

To Contact Me at Skype : [email protected]

Posted

اضضيف الامر هذا كذا تحت أمر إعطاء الرتبة

 

removeOtherGroups(element) 
        aclGroupAddObject (aclGetGroup( tostring(Group)),"user."..account);

Posted

+ تأكد انك تضيف الوضيفة قبل كود اعطاء الرتبة

سقطت تفاحة واحدة ففهم الأنسان معنى الجاذبية

سقطت الملايين من الجثث ولم يفهم الأنسان معنى الأنسانية

===========

One apple fell and people understood Gravity

Millions of bodies fell and people did not understand the meaning of humanity

Spoiler

SOCIAL MEDIA / التواصل الإجتماعي

~[ p_8157bqso1.png SnapChat : xry-n .  ]~

~[ p_815kbq0c2.png 0506748951 . ]~

 

Posted
15 hours ago, Mr.Mostafa said:

outputChatBox(""..message.."",source,255,0,0,true)

ليش
""..message..""

وتقدر تسويها
 

outputChatBox(message,255,0,0,true)

 

أفدتك بشيء ؟ , لا تنسى اللايك ^^
p_801ngdps1.gif

Posted
2 minutes ago, #Ram said:

ليش
""..message..""

وتقدر تسويها
 


outputChatBox(message,255,0,0,true)

 

كنت بسويهآ كدآ لكن 

"".message.." خطآ : "

بس نسيت آكتب خطآ

  • Like 1

330xum0.jpg

p_862d3zvf1.png

* تم آلآفتتآح مرة اخري , حياكم الله *

ip : * mtasa://145.239.212.62:22003 *

330xum0.jpg

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...