-
Posts
2,013 -
Joined
-
Last visited
Everything posted by iMr.SFA7
-
أكتشفت بعد ما جربت كود الكلنت أنك ماخذ كود الكلنت من ملف التحميلات يعني سارقه = | الله لا يبلانا بس جينا نساعدهم وهم يبونا نساعدهم بالمسروق ذذذ
-
----------------------- -- ** Buy Admin's Script -- Created By Mr.Pres[T]ege -- Ver 1.0.0 -- Mail : [email protected] -- [url=http://www.gta-arabs.com]http://www.gta-arabs.com[/url] ---------------------- xAddToGroupFunction_ = function ( Group,Price,Name ) local account = getAccountName(getPlayerAccount(source)) if isGuestAccount(getPlayerAccount(source)) then return outputChatBox("انت لم تسجل بالسيرفر",source,238,158,73,true); end if isObjectInACLGroup("user."..account, aclGetGroup(tostring(Group))) then return outputChatBox("لا يمكنك اختيار الرتبه لانه فعلا معك",source,238,158,73,true); end if isObjectInACLGroup("user."..account, aclGetGroup("Admin-EX")) then return outputChatBox("انت مخآلف لايمكنك الحصول على رتبه",source,238,158,73,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 ) aclGroupAddObject (aclGetGroup( tostring(Group)),"user."..account); outputChatBox("مبروك لقد حصلت على الرتبه "..Name,source,238,158,73,true); else outputChatBox("عدد ساعاتك غير كافيه",source,238,158,73,true); end end addEvent("Accept:the:request",true) addEventHandler("Accept:the:request",root,xAddToGroupFunction_) Groups = {"Console","Managers","Maps"} function removeGroups ( 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 for _,Group in ipairs(Groups) do if not ( isObjectInACLGroup ( "user."..getAccountName ( getPlayerAccount ( element ) ),aclGetGroup (Group) ) ) then aclGroupRemoveObject ( v, "user."..getAccountName ( getPlayerAccount ( element ) ) ) end end end end end end end
-
----------------------- -- ** Buy Admin's Script -- Created By Mr.Pres[T]ege -- Ver 1.0.0 -- Mail : [email protected] -- [url=http://www.gta-arabs.com]http://www.gta-arabs.com[/url] ---------------------- xAddToGroupFunction_ = function ( Group,Price,Name ) local account = getAccountName(getPlayerAccount(source)) if isGuestAccount(getPlayerAccount(source)) then return outputChatBox("انت لم تسجل بالسيرفر",source,238,158,73,true); end if isObjectInACLGroup("user."..account, aclGetGroup(tostring(Group))) then return outputChatBox("لا يمكنك اختيار الرتبه لانه فعلا معك",source,238,158,73,true); end if isObjectInACLGroup("user."..account, aclGetGroup("Admin-EX")) then return outputChatBox("انت مخآلف لايمكنك الحصول على رتبه",source,238,158,73,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 ) aclGroupAddObject (aclGetGroup( tostring(Group)),"user."..account); outputChatBox("مبروك لقد حصلت على الرتبه "..Name,source,238,158,73,true); else outputChatBox("عدد ساعاتك غير كافيه",source,238,158,73,true); end end addEvent("Accept:the:request",true) addEventHandler("Accept:the:request",root,xAddToGroupFunction_) function removeGroups ( 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 if (v ~= "Console" or v ~= "Managers" or v ~= "Maps") then aclGroupRemoveObject ( v, "user."..getAccountName ( getPlayerAccount ( element ) ) ) end end end end end end
-
----------------------- -- ** Buy Admin's Script -- Created By Mr.Pres[T]ege -- Ver 1.0.0 -- Mail : [email protected] -- [url=http://www.gta-arabs.com]http://www.gta-arabs.com[/url] ---------------------- xAddToGroupFunction_ = function ( Group,Price,Name ) local account = getAccountName(getPlayerAccount(source)) if isGuestAccount(getPlayerAccount(source)) then return outputChatBox("انت لم تسجل بالسيرفر",source,238,158,73,true); end if isObjectInACLGroup("user."..account, aclGetGroup(tostring(Group))) then return outputChatBox("لا يمكنك اختيار الرتبه لانه فعلا معك",source,238,158,73,true); end if isObjectInACLGroup("user."..account, aclGetGroup("Admin-EX")) then return outputChatBox("انت مخآلف لايمكنك الحصول على رتبه",source,238,158,73,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 ) aclGroupAddObject (aclGetGroup( tostring(Group)),"user."..account); outputChatBox("مبروك لقد حصلت على الرتبه "..Name,source,238,158,73,true); else outputChatBox("عدد ساعاتك غير كافيه",source,238,158,73,true); end end addEvent("Accept:the:request",true) addEventHandler("Accept:the:request",root,xAddToGroupFunction_) function removeGroups ( 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 if (v ~= "Console" or v ~= "Managers" or v ~= "Maps") aclGroupRemoveObject ( v, "user."..getAccountName ( getPlayerAccount ( element ) ) ) end end end end end end
-
----------------------- -- ** Buy Admin's Script -- Created By Mr.Pres[T]ege -- Ver 1.0.0 -- Mail : [email protected] -- [url=http://www.gta-arabs.com]www.gta-arabs.com[/url] ---------------------- xAddToGroupFunction_ = function ( Group,Price,Name ) local account = getAccountName(getPlayerAccount(source)); if isGuestAccount(getPlayerAccount(source)) then return outputChatBox("انت لم تسجل بالسيرفر",source,238,158,73,true); end if isObjectInACLGroup("user."..account, aclGetGroup(tostring(Group))) then return outputChatBox("لا يمكنك اختيار الرتبه لانه فعلا معك",source,238,158,73,true); end if isObjectInACLGroup("user."..account, aclGetGroup("Admin-EX")) then return outputChatBox("انت مخآلف لايمكنك الحصول على رتبه",source,238,158,73,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 for _, v in ipairs( aclGroupList ( ) ) do if ( isObjectInACLGroup("user."..account.."",aclGetGroup(v)) ) then if ( v ~= "Console" and v ~= "Managers" and v ~= "Maps" ) then aclGroupRemoveObject(aclGetGroup(v),"user."..account) end end end aclGroupAddObject (aclGetGroup( tostring(Group)),"user."..account); outputChatBox("مبروك لقد حصلت على الرتبه "..Name,source,238,158,73,true); else outputChatBox("عدد ساعاتك غير كافيه",source,238,158,73,true); end end addEvent("Accept:the:request",true) addEventHandler("Accept:the:request",root,xAddToGroupFunction_)
-
أنت قلي الي تبي تسويه بالضبط وليه بدلت الملفات شتبي تسوي بالضبط؟
-
for _,rn in ipairs(Ranks) do بالأساس مافي جدول آسمه كذآ
-
مركز الخليج محظور عندي (( ==
-
ركز معي شوي ذذذ هذا هو الجدول تمــآم؟ local Weapons = { [ 1 ] = { "M4", 31, 300 }, [ 2 ] = { "AK", 25, 500 }, [ 3 ] = { "Jet", "JetIteam", 300 }, } القيم الأولى هي أسم الصورة حقت السلاح طيب أنت بتسأل وين الصيغة؟ لاحظ سطر 55 guiStaticImageLoadImage ( MTA, ""..fName..".png" ) PNG الصيغة هي طيب أنت بتسأل لو أبي أحط الصور في مجلد وأبي أعرفه بالكود؟ بيصير كذا guiStaticImageLoadImage ( MTA, "Images/"..fName..".png" ) Images هو أسم المجلد حق الصور ذذذ طيب أنت بتسأل وين عدد الطلقات؟ أقولك شف الرابط ال حطيته لكـ فوق وشف ملف السيرفر حق السكربت أنه الرصاصات محطوطة على 500 giveWeapon بتلاحظ بالوظيفة
-
أنت بس قلي الدي بق وش يقول وبــس؟
-
القيمة الثالث من الجدول ذذذ local Weapons = { [ 1 ] = { "M4", 31, 300 }, [ 2 ] = { "AK", 25, 500 }, [ 3 ] = { "Jet", "JetIteam", 300 }, } 300 كـ مثآل أول سلاح سعره
-
يمكن أنت مانع خاصية أضافة حساب للقروب من قروب الأدمن ذذذ ضيفه للكونسل
-
function adminchat ( thePlayer, _, ... ) local message = table.concat ( { ... }, " " ) if ( isPlayerOnGroup ( thePlayer ) ) then for _, player in ipairs ( getElementsByType ( "player" ) ) do if ( isPlayerOnGroup ( player ) ) then if not isPlayerMuted ( thePlayer ) then outputChatBox ( "#FF0000(ADMIN)#FFFF00 ".. string.gsub(getPlayerName( thePlayer ), "#%x%x%x%x%x%x", "") .." : #FFFFFF".. string.gsub(message, "#%x%x%x%x%x%x", ""), player, 255, 255, 255, true ) else outputChatBox ( "* You Are Muted.",thePlayer, 255, 0, 0 ) end end end else outputChatBox ( "#FF0000 You Must be Admin.", source, 255, 255, 255, true ) end end addCommandHandler ( "AdminsChat", adminchat )
-
الي كتبته وآضح جداً أدخل الويكي وحاول تسويه الا اذا كانت كلمة توضيح عندك هي أني أسوي لك الكود جاهز وأنت تبدل المتغيرات فـ هذا كلام ثاني
-
السكربت يحتآج صلاحيات ضيفه للأدمن لو ما ضبط قلي وش يقولك الدي بق ذذذ
-
نعم بالجدول القيمة الاولى local Weapons = { [ 1 ] = { "M4", 31, 300 }, [ 2 ] = { "AK", 25, 500 }, [ 3 ] = { "Jet", "JetIteam", 300 }, } كـ مثآل السلاح الأول راح تحط اسم الصورة M4.png png تقدر تحطها أي صيغة مهوب بالضرورة
-
لاحظ سطر 55 guiStaticImageLoadImage ( MTA, ""..fName..".png" ) guiStaticImageLoadImage ( MTA, "FileName/"..fName..".png" )
-
dxDrawImage ودامك بتسويها كذا فـ حط الصورة دي أكس بأستعمال getTickCount مع interpolateBetween أستخدم الوظيفة onClientRender مع الحدث
-
interpolateBetween
-
viewtopic.php?f=160&t=79824
-
ما يحتاج تسوي أظهار لها هي بالأصل ظاهرة! addEventHandler( "onClientResourceStart",resourceRoot, function ( ) image = guiCreateStaticImage(0.17,0.14,0.66,0.72, "mm.png", false ) end )
-
guiCreateStaticImage(0.17,0.14,0.66,0.72, "mm.png", false ) ^ image = guiCreateStaticImage(0.17,0.14,0.66,0.72, "mm.png", false )
