-
Posts
2,711 -
Joined
-
Days Won
42
Everything posted by Abdul KariM
-
اطرحلي الكود كامل بعد تعديلك
-
local aGroups = { ["Console"] = true , ["Admin"] = true , ["SuperModerator"] = 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 عدل ع القروبات في اول الاسطر
-
what do you want to do ? and use this function https://wiki.multitheftauto.com/wiki/DxDrawTextOnElement to 3d text
-
الله يعافيك , اجمعين ان شاء الله
-
نادرا اشوف اداري خاش القسم العربي عشان كذا مستغرب
-
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 ( isObjectInACLGroup ( "user." ..Acc, Groups_ ) ) then aclGroupRemoveObject ( Groups_ ,"user."..Acc ) 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_) سويته لك اذا كان الاعب بقروب ادمن اكس مايقدر يترقى واذا الاعب عنده الساعات المطلوبة يحذف كل القروبات الي عنده قبل ويعطيه رتبة جديدة بالتوفيق ولاتنسانا من الدعاء
-
شعنده بحارتنا
-
addCommandHandler( "GetCameraPos", function ( ) local x, y, z, xl, yl, zl = getCameraMatrix( ) if ( x == 0 or y == 0 or z == 0 ) then return end setClipboard(" "..x..", "..y..", "..z..", "..xl..", "..yl..", "..zl.." ") end ) حطه بكلينت واكتب باف8 GetCameraPos وراح ينسخ لك احداثيات الكاميرا ماتركس الي انت فيها الكود اتوقع لزاحف بالتوفيق
-
you're welcome
-
سطر 9 في الكودين انت تبي تستعلم عن قيمتين وحاط 3 علامات استفهام ومايحتاج اكونت داتا مادامك بتحفظ بالداتا بيس + الاسم خليه شرطة تحط بدل شرطة بالوسط
-
ما اتشرف والله
-
@#BrosS ظريف ماشاء الله عليك ممكن تعطينا شوي من سماجتك اقصد ظرافتك
-
add this on your code function SaveTeam ( ) local aPlayersTable = getElementsByType ( "player" ) if ( #aPlayersTable ~= 0 ) then if ( eventName == "onResourceStart" ) then for _ , aPlayers in ipairs ( aPlayersTable ) do local playersAccount = getPlayerAccount ( aPlayers ) if ( playersAccount ) and not ( isGuestAccount ( playersAccount ) ) then local aPlayersTeam = getTeamFromName ( getAccountData ( playersAccount , "team" ) ) if ( aPlayersTeam ) then setPlayerTeam ( aPlayers , aPlayersTeam ) end end end elseif ( eventName == "onResourceStop" ) then for _ , aPlayers in ipairs ( aPlayersTable ) do local playersAccount = getPlayerAccount ( aPlayers ) if ( playersAccount ) and not ( isGuestAccount ( playersAccount ) ) then local playerTeam = getPlayerTeam ( aPlayers ) if ( playerTeam ) then setAccountData ( playersAccount , "team" , getTeamName ( playerTeam ) ) end end end end end end addEventHandler ( "onResourceStart", resourceRoot , SaveTeam ) addEventHandler ( "onResourceStop", resourceRoot , SaveTeam )
-
لا اله الا الله محمد رسول الله عطر فمك بذكر الله ورسوله
-
عرفتوه من ؟ جبنا راسه جداوي بعد , هههههههههه
-
@_Kinan الفرق بين الداتا بيز والسكل فرق كبير وممكن تقولي كيف الداتا بيز تشفر البيانات وانا قصدي موب قاعدة بيانات محلية قصدي عن الماي اس كيو ال وهو حر يختار بكيفه
-
@iMr.WiFi..! ركز بكلامي قلت لغتين ترتبط باللوا بشكل كبير وقلت ضيفوا لغات ترتبط باللوا مثل الي حطيتهم انا ماقلت بس الفيجوال والبي اتش بي
-
مفروض نتفق على لغات نبيها موب كل واحد يحط لغة من نفسها انا الي اشوفه vb.net - php ونبي لغات ترتبط بالوا بشكل قوي يعني استخدام كثير ولها افكار مثل اللغات الي فوق