Ismaeel_finer Posted November 19, 2016 Share Posted November 19, 2016 السلام عليكم انا سويت مود رتب بس ماحب يشتغل معاي --- client local Key = "F7" local Admin = { {"رئيس حرب ليبيا","libyawar_lv8","320"}, {"نائب رئيس حرب ليبيا","libyawar_lv7","270"}, {"رئيس الحكومه","libyawar_lv6","230"}, {"قائد القوات الخاصه","libyawar_lv5","180"}, {"قائد المليشيات المسلحة","libyawar_lv4","150"}, {"قــائـد الحرب","libyawar_lv3","90"}, {"لواء","libya_war_lv2","60"}, {"امر كتيبة","libya_war_lv1","30"}, {"مرشح للحرب","libyawae0","15"}, } ---------------------- -- Setting ---------------------- local font0_LLK = guiCreateFont("LLK.ttf", 11) local font1_LLK = guiCreateFont("LLK.ttf", 13) GiveAdmin = { Window = {}, gridlist = {}, button = {}, label = {}, } function centerWindow(center_window) local screenW,screenH=guiGetScreenSize() local windowW,windowH=guiGetSize(center_window,false); local x,y = (screenW-windowW)/2,(screenH-windowH)/2 guiSetPosition(center_window,x,y,false); end GiveAdmin.Window[1] = guiCreateStaticImage(268, 212, 489, 350, "LK.png", false); GUIEditorlabel = guiCreateLabel(130, 4, 221, 27, "لوحة شراء الرتب حرب ليبيت | By :Ismaeel", false, GiveAdmin.Window[1]); guiSetFont(GUIEditorlabel, font1_LLK); centerWindow(GiveAdmin.Window[1]); guiSetVisible(GiveAdmin.Window[1],false); guiWindowSetSizable(GiveAdmin.Window[1], false); guiSetAlpha(GiveAdmin.Window[1], 1.00); guiSetProperty(GiveAdmin.Window[1], "CaptionColour", "FF0383FB"); guiLabelSetColor(GiveAdmin.label[1], 255, 0, 0) GiveAdmin.gridlist[1] = guiCreateGridList(14, 48, 461, 222, false, GiveAdmin.Window[1]); guiGridListAddColumn(GiveAdmin.gridlist[1], "#", 0.15) guiGridListAddColumn(GiveAdmin.gridlist[1], "الرتبة", 0.35); guiGridListAddColumn(GiveAdmin.gridlist[1], "القروب", 0.25); guiGridListAddColumn(GiveAdmin.gridlist[1], "الساعات", 0.15); GiveAdmin.button[1] = guiCreateButton(14, 280, 461, 56, " | [ لوحة شرآء رتب ] | ", false, GiveAdmin.Window[1]); guiSetFont(GiveAdmin.button[1], font0_LLK); guiSetProperty(GiveAdmin.button[1], "NormalTextColour", "FF24AAFF"); for k,v in ipairs ( Admin ) do row = guiGridListAddRow(GiveAdmin.gridlist[1]); guiGridListSetItemText(GiveAdmin.gridlist[1],row,1,''..k..'-',false,false); guiGridListSetItemText(GiveAdmin.gridlist[1],row,2,v[1],false,false); guiGridListSetItemText(GiveAdmin.gridlist[1],row,3,v[2],false,false); guiGridListSetItemText(GiveAdmin.gridlist[1],row,4,v[3],false,false); guiGridListSetItemColor(GiveAdmin.gridlist[1],row,1,234,234,234); guiGridListSetItemColor(GiveAdmin.gridlist[1],row,2,67,200,255) guiGridListSetItemColor(GiveAdmin.gridlist[1],row,3,234,234,234); guiGridListSetItemColor(GiveAdmin.gridlist[1],row,4,67,200,255); guiSetFont(GiveAdmin.gridlist[1], font0_LLK); end xMainFunctions_ = function ( ) local row, col = guiGridListGetSelectedItem ( GiveAdmin.gridlist[1] ) local Group = tostring ( guiGridListGetItemText(GiveAdmin.gridlist[1],row,3 )); local Price = tostring ( guiGridListGetItemText(GiveAdmin.gridlist[1],row,4 )); local Name = tostring ( guiGridListGetItemText(GiveAdmin.gridlist[1],row,2 )); if ( row and col and row ~= -1 and col ~= -1 ) then triggerServerEvent("Accept:the:request",localPlayer,Group,Price,Name); else outputChatBox("* الرجاء اختيار رتبةة !",255,0,0,true); end end addEventHandler("onClientGUIClick",GiveAdmin.button[1],xMainFunctions_,false); xBindFunction_ = function () guiSetVisible(GiveAdmin.Window[1],not guiGetVisible(GiveAdmin.Window[1])); showCursor(guiGetVisible(GiveAdmin.Window[1])); end bindKey(Key,"down",xBindFunction_); --- server xAddToGroupFunction_ = function ( Group,Price,Name ) local account = getAccountName(getPlayerAccount(source)); if isGuestAccount(getPlayerAccount(source)) then return outputChatBox(" * يجب عليك التسجيل اولاَ",source,255,0,255,true); end if isObjectInACLGroup("user."..account, aclGetGroup(tostring(Group))) then return outputChatBox("** لديك هذهـ الرتبة فعـلا ! ",source,255,0,255,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 aclGroupAddObject (aclGetGroup( tostring(Group)),"user."..account); outputChatBox("** تم اضافة الرتبة بنجاح | "..Name,source,0,255,255,true); else outputChatBox("**ليس لديك ساعات كافية",source,255,0,0,true); end end addEvent("Accept:the:request",true) addEventHandler("Accept:the:request",root,xAddToGroupFunction_) ارجو مساعدة وشكرا Link to comment
Ismaeel_finer Posted November 19, 2016 Author Share Posted November 19, 2016 8 minutes ago, #BrosS said: debugscript 3 ACL: Access denied for 'debugscript' 14 minutes ago, #BrosS said: debugscript 3 مشكلة هي لما انجي بنشري رتبه ماتجينيش ايقولي تم شراء وماتجينيش ممكن مساعدة Link to comment
#BrosS Posted November 19, 2016 Share Posted November 19, 2016 اعطي نفسك كونسول وشوف المشكل بالديبق واطرح وش يطلعلك لما تشتري Link to comment
AHMED MOSTAFA Posted November 19, 2016 Share Posted November 19, 2016 ACL: Access denied for 'debugscript' مشكلة هي لما انجي بنشري رتبه ماتجينيش ايقولي تم شراء وماتجينيش ممكن مساعدة ضيف المود لجروب ادمن وجرب Link to comment
Ismaeel_finer Posted November 19, 2016 Author Share Posted November 19, 2016 35 minutes ago, Developer Ahmed said: ضيف المود لجروب ادمن وجرب ضفته وجربت نفس مشكلة 57 minutes ago, #BrosS said: اعطي نفسك كونسول وشوف المشكل بالديبق واطرح وش يطلعلك لما تشتري Link to comment
#BrosS Posted November 19, 2016 Share Posted November 19, 2016 اخي الكريم تجي كتابة من تحت debugscript 3 لما تكتب انت اذا شفت كتابات من تحت ، روح اشتري رتبة وهات صورة مع الكتابات اللي تحت Link to comment
Kara Posted November 19, 2016 Share Posted November 19, 2016 الاكواد مافيها غلط تاكد انك ضايف اسم المود لي قروب الادمن resource.اسم المود Link to comment
N3xT Posted November 20, 2016 Share Posted November 20, 2016 @Kara كيف مافيها غلط والسورس مب معرف ؟ كلينت : --- client local Key = "F7" local Admin = { {"رئيس حرب ليبيا","libyawar_lv8","320"}, {"نائب رئيس حرب ليبيا","libyawar_lv7","270"}, {"رئيس الحكومه","libyawar_lv6","230"}, {"قائد القوات الخاصه","libyawar_lv5","180"}, {"قائد المليشيات المسلحة","libyawar_lv4","150"}, {"قــائـد الحرب","libyawar_lv3","90"}, {"لواء","libya_war_lv2","60"}, {"امر كتيبة","libya_war_lv1","30"}, {"مرشح للحرب","libyawae0","15"}, } ---------------------- -- Setting ---------------------- local font0_LLK = guiCreateFont("LLK.ttf", 11) local font1_LLK = guiCreateFont("LLK.ttf", 13) GiveAdmin = { Window = {}, gridlist = {}, button = {}, label = {}, } function centerWindow(center_window) local screenW,screenH=guiGetScreenSize() local windowW,windowH=guiGetSize(center_window,false); local x,y = (screenW-windowW)/2,(screenH-windowH)/2 guiSetPosition(center_window,x,y,false); end GiveAdmin.Window[1] = guiCreateStaticImage(268, 212, 489, 350, "LK.png", false); GUIEditorlabel = guiCreateLabel(130, 4, 221, 27, "لوحة شراء الرتب حرب ليبيت | By :Ismaeel", false, GiveAdmin.Window[1]); guiSetFont(GUIEditorlabel, font1_LLK); centerWindow(GiveAdmin.Window[1]); guiSetVisible(GiveAdmin.Window[1],false); guiWindowSetSizable(GiveAdmin.Window[1], false); guiSetAlpha(GiveAdmin.Window[1], 1.00); guiSetProperty(GiveAdmin.Window[1], "CaptionColour", "FF0383FB"); guiLabelSetColor(GiveAdmin.label[1], 255, 0, 0) GiveAdmin.gridlist[1] = guiCreateGridList(14, 48, 461, 222, false, GiveAdmin.Window[1]); guiGridListAddColumn(GiveAdmin.gridlist[1], "#", 0.15) guiGridListAddColumn(GiveAdmin.gridlist[1], "الرتبة", 0.35); guiGridListAddColumn(GiveAdmin.gridlist[1], "القروب", 0.25); guiGridListAddColumn(GiveAdmin.gridlist[1], "الساعات", 0.15); GiveAdmin.button[1] = guiCreateButton(14, 280, 461, 56, " | [ لوحة شرآء رتب ] | ", false, GiveAdmin.Window[1]); guiSetFont(GiveAdmin.button[1], font0_LLK); guiSetProperty(GiveAdmin.button[1], "NormalTextColour", "FF24AAFF"); for k,v in ipairs ( Admin ) do row = guiGridListAddRow(GiveAdmin.gridlist[1]); guiGridListSetItemText(GiveAdmin.gridlist[1],row,1,''..k..'-',false,false); guiGridListSetItemText(GiveAdmin.gridlist[1],row,2,v[1],false,false); guiGridListSetItemText(GiveAdmin.gridlist[1],row,3,v[2],false,false); guiGridListSetItemText(GiveAdmin.gridlist[1],row,4,v[3],false,false); guiGridListSetItemColor(GiveAdmin.gridlist[1],row,1,234,234,234); guiGridListSetItemColor(GiveAdmin.gridlist[1],row,2,67,200,255) guiGridListSetItemColor(GiveAdmin.gridlist[1],row,3,234,234,234); guiGridListSetItemColor(GiveAdmin.gridlist[1],row,4,67,200,255); guiSetFont(GiveAdmin.gridlist[1], font0_LLK); end function xMainFunctions_ ( ) local row, col = guiGridListGetSelectedItem ( GiveAdmin.gridlist[1] ) local Name = tostring ( guiGridListGetItemText(GiveAdmin.gridlist[1],row,1 )); local Group = tostring ( guiGridListGetItemText(GiveAdmin.gridlist[1],row,2 )); local Price = tostring ( guiGridListGetItemText(GiveAdmin.gridlist[1],row,3 )); if ( row and col and row ~= -1 and col ~= -1 ) then triggerServerEvent("Accept:the:request",localPlayer,localPlayer,Group,Price,Name); else outputChatBox("* الرجاء اختيار رتبةة !",255,0,0,true); end end addEventHandler("onClientGUIClick",GiveAdmin.button[1],xMainFunctions_); xBindFunction_ = function () guiSetVisible(GiveAdmin.Window[1],not guiGetVisible(GiveAdmin.Window[1])); showCursor(guiGetVisible(GiveAdmin.Window[1])); end bindKey(Key,"down",xBindFunction_); سيرفر : function xAddToGroupFunction_ ( Player,Group,Price,Name ) local account = getAccountName(getPlayerAccount(Player)); if isGuestAccount(getPlayerAccount(Player)) then return outputChatBox(" * يجب عليك التسجيل اولاَ",Player,255,0,255,true); end if isObjectInACLGroup("user."..account, aclGetGroup(tostring(Group))) then return outputChatBox("** لديك هذهـ الرتبة فعـلا ! ",Player,255,0,255,true); end local sValue = getElementData( Player,'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 aclGroupAddObject (aclGetGroup( tostring(Group)),"user."..account); outputChatBox("** تم اضافة الرتبة بنجاح | "..Name,Player,0,255,255,true); else outputChatBox("**ليس لديك ساعات كافية",Player,255,0,0,true); end end addEvent("Accept:the:request",true) addEventHandler("Accept:the:request",root,xAddToGroupFunction_) ملاحظة: الكود ما جربته, جربه أنت وشوف الديبوق مثل ما قالوا لك الأخوان فوق Link to comment
iPrestege Posted November 20, 2016 Share Posted November 20, 2016 3 hours ago, N3xT said: @Kara كيف مافيها غلط والسورس مب معرف ؟ كلينت : --- clientlocal Key = "F7"local Admin = {{"رئيس حرب ليبيا","libyawar_lv8","320"},{"نائب رئيس حرب ليبيا","libyawar_lv7","270"},{"رئيس الحكومه","libyawar_lv6","230"}, {"قائد القوات الخاصه","libyawar_lv5","180"},{"قائد المليشيات المسلحة","libyawar_lv4","150"},{"قــائـد الحرب","libyawar_lv3","90"},{"لواء","libya_war_lv2","60"},{"امر كتيبة","libya_war_lv1","30"},{"مرشح للحرب","libyawae0","15"},}------------------------ Setting----------------------local font0_LLK = guiCreateFont("LLK.ttf", 11)local font1_LLK = guiCreateFont("LLK.ttf", 13)GiveAdmin = { Window = {}, gridlist = {}, button = {}, label = {},}function centerWindow(center_window) local screenW,screenH=guiGetScreenSize() local windowW,windowH=guiGetSize(center_window,false); local x,y = (screenW-windowW)/2,(screenH-windowH)/2 guiSetPosition(center_window,x,y,false);endGiveAdmin.Window[1] = guiCreateStaticImage(268, 212, 489, 350, "LK.png", false);GUIEditorlabel = guiCreateLabel(130, 4, 221, 27, "لوحة شراء الرتب حرب ليبيت | By :Ismaeel", false, GiveAdmin.Window[1]); guiSetFont(GUIEditorlabel, font1_LLK);centerWindow(GiveAdmin.Window[1]);guiSetVisible(GiveAdmin.Window[1],false);guiWindowSetSizable(GiveAdmin.Window[1], false);guiSetAlpha(GiveAdmin.Window[1], 1.00);guiSetProperty(GiveAdmin.Window[1], "CaptionColour", "FF0383FB");guiLabelSetColor(GiveAdmin.label[1], 255, 0, 0)GiveAdmin.gridlist[1] = guiCreateGridList(14, 48, 461, 222, false, GiveAdmin.Window[1]);guiGridListAddColumn(GiveAdmin.gridlist[1], "#", 0.15)guiGridListAddColumn(GiveAdmin.gridlist[1], "الرتبة", 0.35);guiGridListAddColumn(GiveAdmin.gridlist[1], "القروب", 0.25);guiGridListAddColumn(GiveAdmin.gridlist[1], "الساعات", 0.15);GiveAdmin.button[1] = guiCreateButton(14, 280, 461, 56, " | [ لوحة شرآء رتب ] | ", false, GiveAdmin.Window[1]); guiSetFont(GiveAdmin.button[1], font0_LLK);guiSetProperty(GiveAdmin.button[1], "NormalTextColour", "FF24AAFF");for k,v in ipairs ( Admin ) dorow = guiGridListAddRow(GiveAdmin.gridlist[1]);guiGridListSetItemText(GiveAdmin.gridlist[1],row,1,''..k..'-',false,false);guiGridListSetItemText(GiveAdmin.gridlist[1],row,2,v[1],false,false);guiGridListSetItemText(GiveAdmin.gridlist[1],row,3,v[2],false,false);guiGridListSetItemText(GiveAdmin.gridlist[1],row,4,v[3],false,false);guiGridListSetItemColor(GiveAdmin.gridlist[1],row,1,234,234,234);guiGridListSetItemColor(GiveAdmin.gridlist[1],row,2,67,200,255)guiGridListSetItemColor(GiveAdmin.gridlist[1],row,3,234,234,234);guiGridListSetItemColor(GiveAdmin.gridlist[1],row,4,67,200,255); guiSetFont(GiveAdmin.gridlist[1], font0_LLK);endfunction xMainFunctions_ ( ) local row, col = guiGridListGetSelectedItem ( GiveAdmin.gridlist[1] ) local Name = tostring ( guiGridListGetItemText(GiveAdmin.gridlist[1],row,1 ));local Group = tostring ( guiGridListGetItemText(GiveAdmin.gridlist[1],row,2 ));local Price = tostring ( guiGridListGetItemText(GiveAdmin.gridlist[1],row,3 )); if ( row and col and row ~= -1 and col ~= -1 ) thentriggerServerEvent("Accept:the:request",localPlayer,localPlayer,Group,Price,Name); else outputChatBox("* الرجاء اختيار رتبةة !",255,0,0,true); endendaddEventHandler("onClientGUIClick",GiveAdmin.button[1],xMainFunctions_);xBindFunction_ = function () guiSetVisible(GiveAdmin.Window[1],not guiGetVisible(GiveAdmin.Window[1])); showCursor(guiGetVisible(GiveAdmin.Window[1]));endbindKey(Key,"down",xBindFunction_); سيرفر : function xAddToGroupFunction_ ( Player,Group,Price,Name ) local account = getAccountName(getPlayerAccount(Player)); if isGuestAccount(getPlayerAccount(Player)) then return outputChatBox(" * يجب عليك التسجيل اولاَ",Player,255,0,255,true); end if isObjectInACLGroup("user."..account, aclGetGroup(tostring(Group))) then return outputChatBox("** لديك هذهـ الرتبة فعـلا ! ",Player,255,0,255,true); end local sValue = getElementData( Player,'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 aclGroupAddObject (aclGetGroup( tostring(Group)),"user."..account); outputChatBox("** تم اضافة الرتبة بنجاح | "..Name,Player,0,255,255,true); else outputChatBox("**ليس لديك ساعات كافية",Player,255,0,0,true); endendaddEvent("Accept:the:request",true)addEventHandler("Accept:the:request",root,xAddToGroupFunction_) ملاحظة: الكود ما جربته, جربه أنت وشوف الديبوق مثل ما قالوا لك الأخوان فوق السورس هو الاعب مرسل من الكلنت وش المشكله؟ 1 Link to comment
Ismaeel_finer Posted November 20, 2016 Author Share Posted November 20, 2016 14 hours ago, N3xT said: @Kara كيف مافيها غلط والسورس مب معرف ؟ كلينت : --- client local Key = "F7" local Admin = { {"رئيس حرب ليبيا","libyawar_lv8","320"}, {"نائب رئيس حرب ليبيا","libyawar_lv7","270"}, {"رئيس الحكومه","libyawar_lv6","230"}, {"قائد القوات الخاصه","libyawar_lv5","180"}, {"قائد المليشيات المسلحة","libyawar_lv4","150"}, {"قــائـد الحرب","libyawar_lv3","90"}, {"لواء","libya_war_lv2","60"}, {"امر كتيبة","libya_war_lv1","30"}, {"مرشح للحرب","libyawae0","15"}, } ---------------------- -- Setting ---------------------- local font0_LLK = guiCreateFont("LLK.ttf", 11) local font1_LLK = guiCreateFont("LLK.ttf", 13) GiveAdmin = { Window = {}, gridlist = {}, button = {}, label = {}, } function centerWindow(center_window) local screenW,screenH=guiGetScreenSize() local windowW,windowH=guiGetSize(center_window,false); local x,y = (screenW-windowW)/2,(screenH-windowH)/2 guiSetPosition(center_window,x,y,false); end GiveAdmin.Window[1] = guiCreateStaticImage(268, 212, 489, 350, "LK.png", false); GUIEditorlabel = guiCreateLabel(130, 4, 221, 27, "لوحة شراء الرتب حرب ليبيت | By :Ismaeel", false, GiveAdmin.Window[1]); guiSetFont(GUIEditorlabel, font1_LLK); centerWindow(GiveAdmin.Window[1]); guiSetVisible(GiveAdmin.Window[1],false); guiWindowSetSizable(GiveAdmin.Window[1], false); guiSetAlpha(GiveAdmin.Window[1], 1.00); guiSetProperty(GiveAdmin.Window[1], "CaptionColour", "FF0383FB"); guiLabelSetColor(GiveAdmin.label[1], 255, 0, 0) GiveAdmin.gridlist[1] = guiCreateGridList(14, 48, 461, 222, false, GiveAdmin.Window[1]); guiGridListAddColumn(GiveAdmin.gridlist[1], "#", 0.15) guiGridListAddColumn(GiveAdmin.gridlist[1], "الرتبة", 0.35); guiGridListAddColumn(GiveAdmin.gridlist[1], "القروب", 0.25); guiGridListAddColumn(GiveAdmin.gridlist[1], "الساعات", 0.15); GiveAdmin.button[1] = guiCreateButton(14, 280, 461, 56, " | [ لوحة شرآء رتب ] | ", false, GiveAdmin.Window[1]); guiSetFont(GiveAdmin.button[1], font0_LLK); guiSetProperty(GiveAdmin.button[1], "NormalTextColour", "FF24AAFF"); for k,v in ipairs ( Admin ) do row = guiGridListAddRow(GiveAdmin.gridlist[1]); guiGridListSetItemText(GiveAdmin.gridlist[1],row,1,''..k..'-',false,false); guiGridListSetItemText(GiveAdmin.gridlist[1],row,2,v[1],false,false); guiGridListSetItemText(GiveAdmin.gridlist[1],row,3,v[2],false,false); guiGridListSetItemText(GiveAdmin.gridlist[1],row,4,v[3],false,false); guiGridListSetItemColor(GiveAdmin.gridlist[1],row,1,234,234,234); guiGridListSetItemColor(GiveAdmin.gridlist[1],row,2,67,200,255) guiGridListSetItemColor(GiveAdmin.gridlist[1],row,3,234,234,234); guiGridListSetItemColor(GiveAdmin.gridlist[1],row,4,67,200,255); guiSetFont(GiveAdmin.gridlist[1], font0_LLK); end function xMainFunctions_ ( ) local row, col = guiGridListGetSelectedItem ( GiveAdmin.gridlist[1] ) local Name = tostring ( guiGridListGetItemText(GiveAdmin.gridlist[1],row,1 )); local Group = tostring ( guiGridListGetItemText(GiveAdmin.gridlist[1],row,2 )); local Price = tostring ( guiGridListGetItemText(GiveAdmin.gridlist[1],row,3 )); if ( row and col and row ~= -1 and col ~= -1 ) then triggerServerEvent("Accept:the:request",localPlayer,localPlayer,Group,Price,Name); else outputChatBox("* الرجاء اختيار رتبةة !",255,0,0,true); end end addEventHandler("onClientGUIClick",GiveAdmin.button[1],xMainFunctions_); xBindFunction_ = function () guiSetVisible(GiveAdmin.Window[1],not guiGetVisible(GiveAdmin.Window[1])); showCursor(guiGetVisible(GiveAdmin.Window[1])); end bindKey(Key,"down",xBindFunction_); سيرفر : function xAddToGroupFunction_ ( Player,Group,Price,Name ) local account = getAccountName(getPlayerAccount(Player)); if isGuestAccount(getPlayerAccount(Player)) then return outputChatBox(" * يجب عليك التسجيل اولاَ",Player,255,0,255,true); end if isObjectInACLGroup("user."..account, aclGetGroup(tostring(Group))) then return outputChatBox("** لديك هذهـ الرتبة فعـلا ! ",Player,255,0,255,true); end local sValue = getElementData( Player,'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 aclGroupAddObject (aclGetGroup( tostring(Group)),"user."..account); outputChatBox("** تم اضافة الرتبة بنجاح | "..Name,Player,0,255,255,true); else outputChatBox("**ليس لديك ساعات كافية",Player,255,0,0,true); end end addEvent("Accept:the:request",true) addEventHandler("Accept:the:request",root,xAddToGroupFunction_) ملاحظة: الكود ما جربته, جربه أنت وشوف الديبوق مثل ما قالوا لك الأخوان فوق الديبوق مافيه مشاكل بس انا شريت رتبه ب حسابي كونسول اتت الي بس بحساب جديد ماتاتي 18 hours ago, Kara said: الاكواد مافيها غلط تاكد انك ضايف اسم المود لي قروب الادمن resource.اسم المود ضفته من قبل 18 hours ago, #BrosS said: اخي الكريم تجي كتابة من تحت debugscript 3 لما تكتب انت اذا شفت كتابات من تحت ، روح اشتري رتبة وهات صورة مع الكتابات اللي تحت الحين عرفت مشكلة هي رتب من مرشح للحرب للواء ماتشتغل من قائد حرب تشتغل ممكن مساعدة مشكورين شباب حليت مشكلة اسف علي تعبكم 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