Jump to content

Abdul KariM

Members
  • Posts

    2,711
  • Joined

  • Days Won

    42

Everything posted by Abdul KariM

  1. الكلام واضح والله فنكشنات ومعطينك طبق واطرح محاولتك , غيره لاتحلم اتكلم عن نفسي @#BrosS كودك غلط ترا
  2. aTable = { 'hh' , 'niokdi' } setTimer ( function ( ) outputChatBox (" مصري : #a00000" .. aTable [ math [ 'random' ] ( #aTable ) ] , root r, g, b, true ) end , 6000 , 0 )
  3. "onPlayerWeaponSwitch" "onPlayerWeaponFire" getElementInterior toggleControl @#Soking اعطيه وظائف مسروقه ولا لا ماهو شغلي يركب الوظائف وياخذ طلبه لان الويكي موب ل اي اس وبالنسبة للفلوس لازم تعدل على لوحة الادمنية وتشوف المود حقك وتاخذ الداتا حقته وعشان تمنع السيارات من الانترو تحتاج لـ تايمر ولوب setTimer getElementsByType getElementInterior destroyElement
  4. بالنسبة لمشكلة الفلوس اذا سيرفرك حرب عصابات راح يختلف لان اتوقع الفلوس بالداتا فـ عدل على اللوحة وخلي الفلوس بالداتا موب بالفنكشن
  5. @Deativated ليتك مارديت
  6. https://wiki.multitheftauto.com/wiki/Event_system
  7. عليكم السلام والرحمة يعطيك العافية على السكربت وفي فنكشن جديد اضافوه في التغيرات الاخيرة createTrayNotification الفنكشن مايشتغل على وندوز 10
  8. راجع متغيرات وظيفة القريد ليست والايدت غير اسمائهم وعدلهم
  9. حطلي السيرفر سايد بس
  10. جرب مع لاعب ثاني لان في شرط ان السورس مايساوي الاعب المحدد او انك تحذف سطر 64 وتجرب وبعدين ترجعه
  11. guiSetText ( aLable , tostring ( aData ) or "0" )
  12. سطر 55 استبدله بهذا if not isGuestAccount ( getPlayerAccount ( source ) ) then
  13. وش يعطيك الدي بوق debugscript 3 وحط showWindow = false بأول السطر
  14. بكيفك والله انا ماراح اغصبك على شي ماتبيه
  15. الكلام موب بس لكم والله للجميع يعني اخش موضوع ماتصير 5 دقايق الا انه طالع بكود وهو ماتعب
  16. اي واحد يخش المنتدى ويطلب مساعدة يعطوه الفنكشنات وبعدين يجيك واحد يعطيه كود جاهز ويطلع معاه كود ماسوي فيه لو 1% , ظاهره منتشره انا افضل ان الاخوه لاجت تساعد اول شي تعطيه الفنكشنات وبعدين محاولته وبعدين نصححله , ومانت مجبور تطبق كلامي , بالاخير انت الي تتعب ماهو انا
  17. مافيه شي يرجعلك برقم والمتغير راح تصير قيمته هذا الرقم يعني كأني حاط رقم
  18. @#Soking كوده صحيح من ناحية الي تقول عليه شوف سطر 13 , لكنه مزود ارقمنت
  19. Abdul KariM

    طلب

    كم مره كررت الموضوع وقالوا لك محاولتك وين ماحد فاضي يبرمج لك كذا على البارد المستريح اما ان تحاول او تشوفلك واحد بمقابل مادي
  20. "onPlayerWasted" getDeadPlayers triggerClientEvent addEvent addEventHandler guiGridListAddRow getPlayerName guiGridListSetItemText
  21. local aGroups = { ["3GL"] = true , ["FFO"] = true , ["Adminmsg"] = true , }; function removeGroups ( player ) if ( player ) and ( getElementType ( player ) == "player" ) then if isGuestAccount ( getPlayerAccount ( player ) ) then return end local Acc = getAccountName ( getPlayerAccount ( player ) ) if ( #aclGroupList ( ) == 0 ) then return end for _,Groups_ in ipairs( aclGroupList ( ) ) do if not ( aGroups [ aclGroupGetName ( Groups_ ) ] ) then if ( isObjectInACLGroup ( "user." ..Acc, Groups_ ) ) then aclGroupRemoveObject ( Groups_ ,"user."..Acc ) end end end end end xAddToGroupFunction_ = function ( Group,Price,Name ) local account = getAccountName(getPlayerAccount(source)); if isGuestAccount(getPlayerAccount(source)) then return outputChatBox("#ff4f00* ( #ffffffBuy Admin #ff4f00) : #ffffff * يجب عليك التسجيل اولاَ",source,255,0,0,true); end if isObjectInACLGroup("user."..account, aclGetGroup(tostring(Group))) then return outputChatBox("#ff4f00* ( #ffffffBuy Admin #ff4f00) : #ffffff** لديك هذهـ الرتبة فعـلا ! ",source,255,0,0,true); end if isObjectInACLGroup("user."..account, aclGetGroup("Admin_x")) then return outputChatBox("#ff4f00* ( #ffffffBuy Admin #ff4f00) : #ffffff** الحساب الخاص بك محظور | "..Name,source,255,0,0,true); end local sValue = getElementData( source,'PlayTime' ) if not sValue then sValue = '0:0:0' end local data = split(sValue,':') local hour = tonumber( data[1] ) if hour == nil or not tonumber(hour) then hour = 0 end if ( hour >= tonumber(Price)) then removeGroups ( source ) if isObjectInACLGroup ("user."..account, aclGetGroup( tostring(Group)) ) then aclGroupAddObject (aclGetGroup( tostring(Group)),"user."..account); outputChatBox("#ff4f00* ( #ffffffBuy Admin #ff4f00) : #ffffff** تم اضافة الرتبة بنجاح | "..Name,source,0,255,0,true); end else outputChatBox("#ff4f00* ( #ffffffBuy Admin #ff4f00) : #ffffff**ليس لديك ساعات كافية",source,255,0,0,true); end end addEvent("Accept:the:request",true) addEventHandler("Accept:the:request",root,xAddToGroupFunction_)
  22. local aGroups = { ["3GL"] = true , ["FFO"] = true , ["Adminmsg"] = true , }; function removeGroups ( player ) if ( player ) and ( getElementType ( player ) == "player" ) then if isGuestAccount ( getPlayerAccount ( player ) ) then return end local Acc = getAccountName ( getPlayerAccount ( player ) ) if ( #aclGroupList ( ) == 0 ) then return end for _,Groups_ in ipairs( aclGroupList ( ) ) do if not ( aGroups [ aclGroupGetName ( Groups_ ) ] ) then if ( isObjectInACLGroup ( "user." ..Acc, Groups_ ) ) then aclGroupRemoveObject ( Groups_ ,"user."..Acc ) end end end end end xAddToGroupFunction_ = function ( Group,Price,Name ) local account = getAccountName(getPlayerAccount(source)); if isGuestAccount(getPlayerAccount(source)) then return outputChatBox("#ff4f00* ( #ffffffBuy Admin #ff4f00) : #ffffff * يجب عليك التسجيل اولاَ",source,255,0,0,true); end if isObjectInACLGroup("user."..account, aclGetGroup(tostring(Group))) then return outputChatBox("#ff4f00* ( #ffffffBuy Admin #ff4f00) : #ffffff** لديك هذهـ الرتبة فعـلا ! ",source,255,0,0,true); end if isObjectInACLGroup("user."..account, aclGetGroup("Admin_x")) then return outputChatBox("#ff4f00* ( #ffffffBuy Admin #ff4f00) : #ffffff** الحساب الخاص بك محظور | "..Name,source,255,0,0,true);; end local sValue = getElementData( source,'PlayTime' ) if not sValue then sValue = '0:0:0' end local data = split(sValue,':') local hour = tonumber( data[1] ) if hour == nil or not tonumber(hour) then hour = 0 end if ( hour >= tonumber(Price)) then removeGroups ( source ) if isObjectInACLGroup ("user."..account, aclGetGroup( tostring(Group)) ) then aclGroupAddObject (aclGetGroup( tostring(Group)),"user."..account); outputChatBox("#ff4f00* ( #ffffffBuy Admin #ff4f00) : #ffffff** تم اضافة الرتبة بنجاح | "..Name,source,0,255,0,true); end else outputChatBox("#ff4f00* ( #ffffffBuy Admin #ff4f00) : #ffffff**ليس لديك ساعات كافية",source,255,0,0,true); end end addEvent("Accept:the:request",true) addEventHandler("Accept:the:request",root,xAddToGroupFunction_)
×
×
  • Create New...