Jump to content

مساعدة شي بصيط


Recommended Posts

السلام عليكم

اخواتي انا بدي اشفر ملف كلينت هوة مود شراء رتب وبدي اسوي ملف فيه 

local Admin = {
{"","Police","10"},
{"","ADMIN","20"},
{"","Head.Admin","30"},
}

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

 

الأكودا


 
----------------------
-- Setting
----------------------

local Admin = {
{"","Police","10"},
{"","ADMIN","20"},
{"","Head.Admin","30"},
{"","Professional.Admin","40"},
{"","Big Admin","50"},
{"","Admin.General","60"},
{"","Admin.Boss","80"},
{"","Special.Admin","90"},
{"","Admin.Mo7tref","120"},
{"","Admin.Black","150"},
{"","King.Admin","200"},
{"","Prince.Server","240"},
{"","Prince.Admin","280"},
{"","Special.Prince","350"},
{"","Vote.Manager-Acl","450"},
{"2","Vote.Managers","560"},
{"","Managers","750"},
{"","Vote.Manager","840"},
{"","Manager","875"},
{"","Dieputy.Black","990"},
{"","Dieputy.Console","1000"},
{"","Criminal","1100"},
{"","Help.Console","1200"},

}






for k,v in ipairs ( Admin ) do
row = guiGridListAddRow(GiveAdmin);
guiGridListSetItemText(GiveAdmin,row,1,v[1],false,false);
guiGridListSetItemText(GiveAdmin,row,2,v[2],false,false);
guiGridListSetItemText(GiveAdmin,row,3,v[3],false,false);
end

xMainFunctions_ = function ( )
 local row, col = guiGridListGetSelectedItem ( GiveAdmin ) 
local Group = tostring ( guiGridListGetItemText(GiveAdmin,row,2 ));
local Price = tostring ( guiGridListGetItemText(GiveAdmin,row,3 ));
local Name = tostring ( guiGridListGetItemText(GiveAdmin,row,1 ));
   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",GUIEditor.button[1],xMainFunctions_,false)

local screenW, screenH = guiGetScreenSize()
Top1 = guiCreateWindow((screenW - 253) / 2, (screenH - 178) / 2, 253, 178, "شراء ساعات !", false)
guiWindowSetSizable(Top1, false)
guiSetVisible(Top1, false)
GUIEditor.label[2] = guiCreateLabel(49, 39, 170, 15, "شراء / 100 ساعه بـ 1 دولار $", false, Top1)
GUIEditor.edit[1] = guiCreateEdit(43, 119, 163, 22, "MR_Mahmoud_M.H", false, Top1)
GUIEditor.label[5] = guiCreateLabel(17, 94, 222, 15, "لشراء يرجاء مراسلة الادارة !", false, Top1)
guiLabelSetColor(GUIEditor.label[5], 253, 239, 0)
GUIEditor.button[22] = guiCreateButton(43, 145, 163, 23, "X", false, Top1)





addEventHandler("onClientGUIClick",root,
	function ()
		if ( source == GUIEditor.button[22] ) then
		guiSetVisible(Top1, false)
		showCursor(false)
		end
	end
)

guiSetVisible(TopBoyKa, false)
guiSetVisible(Top1, false)

local key = "F6"
function Show_Hide()
if guiGetVisible(TopBoyKa) == false then
guiSetVisible(TopBoyKa, true)
		guiSetVisible (Top1, false)
		triggerServerEvent("getTop", localPlayer)
showCursor(true)
else guiSetVisible(TopBoyKa, false) showCursor(false)
end end
bindKey(key,"down",Show_Hide)


addEventHandler("onClientGUIClick",root,
    function ()
        if source == Button1 then
		guiSetVisible (Top1, true)
		guiSetVisible (TopBoyKa, false)
    end
end 
)

guiSetProperty(Button1, "NormalTextColour", "FF00FBFE")
guiSetProperty(GUIEditor.button[22], "NormalTextColour", "FF00FBFE")


fileDelete("C.lua")

الي بيسأل ليه بشفره عشان حقوقي تضل علاالوحة

وشكرا لكم سلف

Edited by MR_Mahmoud
Link to comment
13 hours ago, GTA San said:

اذا المود مو من صنعك او صاحبة موافق الافضل ماتشفرة

واتوقع لو تسوي ملف كيلنت بنفس المود وتحط فية الرتب يمكن تضبط 

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

13 hours ago, *RayaN-Alharbi. said:

@King BoyKa

اعرف ان المود من صنعه  المود منتشر بس انا عدلته وخليت لما يشتري الرتبة تنسحب رتبته الأولى وسويت رتبت المخالف لما يكون معه ادمن مخالف يقله لا يمكنك الشراء انت مخالف يعني انا عدلته وحقي اني اشفره

  • Like 1
Link to comment

Server:

Admin = {
	{"","Police","10"},
	{"","ADMIN","20"},
	{"","Head.Admin","30"},
	{"","Professional.Admin","40"},
	{"","Big Admin","50"},
	{"","Admin.General","60"},
	{"","Admin.Boss","80"},
	{"","Special.Admin","90"},
	{"","Admin.Mo7tref","120"},
	{"","Admin.Black","150"},
	{"","King.Admin","200"},
	{"","Prince.Server","240"},
	{"","Prince.Admin","280"},
	{"","Special.Prince","350"},
	{"","Vote.Manager-Acl","450"},
	{"2","Vote.Managers","560"},
	{"","Managers","750"},
	{"","Vote.Manager","840"},
	{"","Manager","875"},
	{"","Dieputy.Black","990"},
	{"","Dieputy.Console","1000"},
	{"","Criminal","1100"},
	{"","Help.Console","1200"},
}

addEventHandler("onResourceStart", resourceRoot,
	function ()
		triggerClientEvent(root, "acl:table", root, Admin)
	end
)

 

Client:

ddEvent("acl:table", true)
addEventHandler("acl:table", root,
	function ( value )
		for k,v in ipairs ( value ) do
			local row = guiGridListAddRow(GiveAdmin);
			guiGridListSetItemText(GiveAdmin,row,1,v[1],false,false);
			guiGridListSetItemText(GiveAdmin,row,2,v[2],false,false);
			guiGridListSetItemText(GiveAdmin,row,3,v[3],false,false);
		end
	end
)

xMainFunctions_ = function ( )
 local row, col = guiGridListGetSelectedItem ( GiveAdmin ) 
local Group = tostring ( guiGridListGetItemText(GiveAdmin,row,2 ));
local Price = tostring ( guiGridListGetItemText(GiveAdmin,row,3 ));
local Name = tostring ( guiGridListGetItemText(GiveAdmin,row,1 ));
   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",GUIEditor.button[1],xMainFunctions_,false)

local screenW, screenH = guiGetScreenSize()
Top1 = guiCreateWindow((screenW - 253) / 2, (screenH - 178) / 2, 253, 178, "شراء ساعات !", false)
guiWindowSetSizable(Top1, false)
guiSetVisible(Top1, false)
GUIEditor.label[2] = guiCreateLabel(49, 39, 170, 15, "شراء / 100 ساعه بـ 1 دولار $", false, Top1)
GUIEditor.edit[1] = guiCreateEdit(43, 119, 163, 22, "MR_Mahmoud_M.H", false, Top1)
GUIEditor.label[5] = guiCreateLabel(17, 94, 222, 15, "لشراء يرجاء مراسلة الادارة !", false, Top1)
guiLabelSetColor(GUIEditor.label[5], 253, 239, 0)
GUIEditor.button[22] = guiCreateButton(43, 145, 163, 23, "X", false, Top1)





addEventHandler("onClientGUIClick",root,
	function ()
		if ( source == GUIEditor.button[22] ) then
		guiSetVisible(Top1, false)
		showCursor(false)
		end
	end
)

guiSetVisible(TopBoyKa, false)
guiSetVisible(Top1, false)

local key = "F6"
function Show_Hide()
if guiGetVisible(TopBoyKa) == false then
guiSetVisible(TopBoyKa, true)
		guiSetVisible (Top1, false)
		triggerServerEvent("getTop", localPlayer)
showCursor(true)
else guiSetVisible(TopBoyKa, false) showCursor(false)
end end
bindKey(key,"down",Show_Hide)


addEventHandler("onClientGUIClick",root,
    function ()
        if source == Button1 then
		guiSetVisible (Top1, true)
		guiSetVisible (TopBoyKa, false)
    end
end 
)

guiSetProperty(Button1, "NormalTextColour", "FF00FBFE")
guiSetProperty(GUIEditor.button[22], "NormalTextColour", "FF00FBFE")

 

Link to comment
3 minutes ago, N3xT said:

Server:


Admin = {
	{"","Police","10"},
	{"","ADMIN","20"},
	{"","Head.Admin","30"},
	{"","Professional.Admin","40"},
	{"","Big Admin","50"},
	{"","Admin.General","60"},
	{"","Admin.Boss","80"},
	{"","Special.Admin","90"},
	{"","Admin.Mo7tref","120"},
	{"","Admin.Black","150"},
	{"","King.Admin","200"},
	{"","Prince.Server","240"},
	{"","Prince.Admin","280"},
	{"","Special.Prince","350"},
	{"","Vote.Manager-Acl","450"},
	{"2","Vote.Managers","560"},
	{"","Managers","750"},
	{"","Vote.Manager","840"},
	{"","Manager","875"},
	{"","Dieputy.Black","990"},
	{"","Dieputy.Console","1000"},
	{"","Criminal","1100"},
	{"","Help.Console","1200"},
}

addEventHandler("onResourceStart", resourceRoot,
	function ()
		triggerClientEvent(root, "acl:table", root, Admin)
	end
)

 

Client:


ddEvent("acl:table", true)
addEventHandler("acl:table", root,
	function ( value )
		for k,v in ipairs ( value ) do
			local row = guiGridListAddRow(GiveAdmin);
			guiGridListSetItemText(GiveAdmin,row,1,v[1],false,false);
			guiGridListSetItemText(GiveAdmin,row,2,v[2],false,false);
			guiGridListSetItemText(GiveAdmin,row,3,v[3],false,false);
		end
	end
)

xMainFunctions_ = function ( )
 local row, col = guiGridListGetSelectedItem ( GiveAdmin ) 
local Group = tostring ( guiGridListGetItemText(GiveAdmin,row,2 ));
local Price = tostring ( guiGridListGetItemText(GiveAdmin,row,3 ));
local Name = tostring ( guiGridListGetItemText(GiveAdmin,row,1 ));
   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",GUIEditor.button[1],xMainFunctions_,false)

local screenW, screenH = guiGetScreenSize()
Top1 = guiCreateWindow((screenW - 253) / 2, (screenH - 178) / 2, 253, 178, "شراء ساعات !", false)
guiWindowSetSizable(Top1, false)
guiSetVisible(Top1, false)
GUIEditor.label[2] = guiCreateLabel(49, 39, 170, 15, "شراء / 100 ساعه بـ 1 دولار $", false, Top1)
GUIEditor.edit[1] = guiCreateEdit(43, 119, 163, 22, "MR_Mahmoud_M.H", false, Top1)
GUIEditor.label[5] = guiCreateLabel(17, 94, 222, 15, "لشراء يرجاء مراسلة الادارة !", false, Top1)
guiLabelSetColor(GUIEditor.label[5], 253, 239, 0)
GUIEditor.button[22] = guiCreateButton(43, 145, 163, 23, "X", false, Top1)





addEventHandler("onClientGUIClick",root,
	function ()
		if ( source == GUIEditor.button[22] ) then
		guiSetVisible(Top1, false)
		showCursor(false)
		end
	end
)

guiSetVisible(TopBoyKa, false)
guiSetVisible(Top1, false)

local key = "F6"
function Show_Hide()
if guiGetVisible(TopBoyKa) == false then
guiSetVisible(TopBoyKa, true)
		guiSetVisible (Top1, false)
		triggerServerEvent("getTop", localPlayer)
showCursor(true)
else guiSetVisible(TopBoyKa, false) showCursor(false)
end end
bindKey(key,"down",Show_Hide)


addEventHandler("onClientGUIClick",root,
    function ()
        if source == Button1 then
		guiSetVisible (Top1, true)
		guiSetVisible (TopBoyKa, false)
    end
end 
)

guiSetProperty(Button1, "NormalTextColour", "FF00FBFE")
guiSetProperty(GUIEditor.button[22], "NormalTextColour", "FF00FBFE")

 

مابتقدر تسوي تريقر مباشرة

  • Like 2
Link to comment

Server:

Admin = {
	{"","Police","10"},
	{"","ADMIN","20"},
	{"","Head.Admin","30"},
	{"","Professional.Admin","40"},
	{"","Big Admin","50"},
	{"","Admin.General","60"},
	{"","Admin.Boss","80"},
	{"","Special.Admin","90"},
	{"","Admin.Mo7tref","120"},
	{"","Admin.Black","150"},
	{"","King.Admin","200"},
	{"","Prince.Server","240"},
	{"","Prince.Admin","280"},
	{"","Special.Prince","350"},
	{"","Vote.Manager-Acl","450"},
	{"2","Vote.Managers","560"},
	{"","Managers","750"},
	{"","Vote.Manager","840"},
	{"","Manager","875"},
	{"","Dieputy.Black","990"},
	{"","Dieputy.Console","1000"},
	{"","Criminal","1100"},
	{"","Help.Console","1200"},
}

addEvent("request:acl", true)
addEventHandler("request:acl", root,
	function ()
		triggerClientEvent(root, "acl:table", root, Admin)
	end
)

 

Client:

addEvent("acl:table", true)
addEventHandler("acl:table", root,
	function ( value )
		for k,v in ipairs ( value ) do
			local row = guiGridListAddRow(GiveAdmin);
			guiGridListSetItemText(GiveAdmin,row,1,v[1],false,false);
			guiGridListSetItemText(GiveAdmin,row,2,v[2],false,false);
			guiGridListSetItemText(GiveAdmin,row,3,v[3],false,false);
		end
	end
)

xMainFunctions_ = function ( )
 local row, col = guiGridListGetSelectedItem ( GiveAdmin ) 
local Group = tostring ( guiGridListGetItemText(GiveAdmin,row,2 ));
local Price = tostring ( guiGridListGetItemText(GiveAdmin,row,3 ));
local Name = tostring ( guiGridListGetItemText(GiveAdmin,row,1 ));
   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",GUIEditor.button[1],xMainFunctions_,false)

local screenW, screenH = guiGetScreenSize()
Top1 = guiCreateWindow((screenW - 253) / 2, (screenH - 178) / 2, 253, 178, "شراء ساعات !", false)
guiWindowSetSizable(Top1, false)
guiSetVisible(Top1, false)
GUIEditor.label[2] = guiCreateLabel(49, 39, 170, 15, "شراء / 100 ساعه بـ 1 دولار $", false, Top1)
GUIEditor.edit[1] = guiCreateEdit(43, 119, 163, 22, "MR_Mahmoud_M.H", false, Top1)
GUIEditor.label[5] = guiCreateLabel(17, 94, 222, 15, "لشراء يرجاء مراسلة الادارة !", false, Top1)
guiLabelSetColor(GUIEditor.label[5], 253, 239, 0)
GUIEditor.button[22] = guiCreateButton(43, 145, 163, 23, "X", false, Top1)





addEventHandler("onClientGUIClick",root,
	function ()
		if ( source == GUIEditor.button[22] ) then
		guiSetVisible(Top1, false)
		showCursor(false)
		end
	end
)

guiSetVisible(TopBoyKa, false)
guiSetVisible(Top1, false)

local key = "F6"
function Show_Hide()
	if guiGetVisible(TopBoyKa) == false then
		triggerServerEvent("request:acl", localPlayer)
		guiSetVisible(TopBoyKa, true)
		guiSetVisible (Top1, false)
		triggerServerEvent("getTop", localPlayer)
		showCursor(true)
	else 
		guiSetVisible(TopBoyKa, false) 
		showCursor(false)
	end
end
bindKey(key,"down",Show_Hide)


addEventHandler("onClientGUIClick",root,
    function ()
        if source == Button1 then
		guiSetVisible (Top1, true)
		guiSetVisible (TopBoyKa, false)
    end
end 
)

guiSetProperty(Button1, "NormalTextColour", "FF00FBFE")
guiSetProperty(GUIEditor.button[22], "NormalTextColour", "FF00FBFE")

 

  • Like 1
Link to comment
12 hours ago, N3xT said:

Server:


Admin = {	{"","Police","10"},	{"","ADMIN","20"},	{"","Head.Admin","30"},	{"","Professional.Admin","40"},	{"","Big Admin","50"},	{"","Admin.General","60"},	{"","Admin.Boss","80"},	{"","Special.Admin","90"},	{"","Admin.Mo7tref","120"},	{"","Admin.Black","150"},	{"","King.Admin","200"},	{"","Prince.Server","240"},	{"","Prince.Admin","280"},	{"","Special.Prince","350"},	{"","Vote.Manager-Acl","450"},	{"2","Vote.Managers","560"},	{"","Managers","750"},	{"","Vote.Manager","840"},	{"","Manager","875"},	{"","Dieputy.Black","990"},	{"","Dieputy.Console","1000"},	{"","Criminal","1100"},	{"","Help.Console","1200"},}addEvent("request:acl", true)addEventHandler("request:acl", root,	function ()		triggerClientEvent(root, "acl:table", root, Admin)	end)

 

Client:


addEvent("acl:table", true)addEventHandler("acl:table", root,	function ( value )		for k,v in ipairs ( value ) do			local row = guiGridListAddRow(GiveAdmin);			guiGridListSetItemText(GiveAdmin,row,1,v[1],false,false);			guiGridListSetItemText(GiveAdmin,row,2,v[2],false,false);			guiGridListSetItemText(GiveAdmin,row,3,v[3],false,false);		end	end)xMainFunctions_ = function ( ) local row, col = guiGridListGetSelectedItem ( GiveAdmin ) local Group = tostring ( guiGridListGetItemText(GiveAdmin,row,2 ));local Price = tostring ( guiGridListGetItemText(GiveAdmin,row,3 ));local Name = tostring ( guiGridListGetItemText(GiveAdmin,row,1 ));   if ( row and col and row ~= -1 and col ~= -1 ) thentriggerServerEvent("Accept:the:request",localPlayer,Group,Price,Name);  else  outputChatBox("* الرجاء اختيار رتبةة !",255,0,0,true);  endendaddEventHandler("onClientGUIClick",GUIEditor.button[1],xMainFunctions_,false)local screenW, screenH = guiGetScreenSize()Top1 = guiCreateWindow((screenW - 253) / 2, (screenH - 178) / 2, 253, 178, "شراء ساعات !", false)guiWindowSetSizable(Top1, false)guiSetVisible(Top1, false)GUIEditor.label[2] = guiCreateLabel(49, 39, 170, 15, "شراء / 100 ساعه بـ 1 دولار $", false, Top1)GUIEditor.edit[1] = guiCreateEdit(43, 119, 163, 22, "MR_Mahmoud_M.H", false, Top1)GUIEditor.label[5] = guiCreateLabel(17, 94, 222, 15, "لشراء يرجاء مراسلة الادارة !", false, Top1)guiLabelSetColor(GUIEditor.label[5], 253, 239, 0)GUIEditor.button[22] = guiCreateButton(43, 145, 163, 23, "X", false, Top1)addEventHandler("onClientGUIClick",root,	function ()		if ( source == GUIEditor.button[22] ) then		guiSetVisible(Top1, false)		showCursor(false)		end	end)guiSetVisible(TopBoyKa, false)guiSetVisible(Top1, false)local key = "F6"function Show_Hide()	if guiGetVisible(TopBoyKa) == false then		triggerServerEvent("request:acl", localPlayer)		guiSetVisible(TopBoyKa, true)		guiSetVisible (Top1, false)		triggerServerEvent("getTop", localPlayer)		showCursor(true)	else 		guiSetVisible(TopBoyKa, false) 		showCursor(false)	endendbindKey(key,"down",Show_Hide)addEventHandler("onClientGUIClick",root,    function ()        if source == Button1 then		guiSetVisible (Top1, true)		guiSetVisible (TopBoyKa, false)    endend )guiSetProperty(Button1, "NormalTextColour", "FF00FBFE")guiSetProperty(GUIEditor.button[22], "NormalTextColour", "FF00FBFE")

 

ماصار مافتحت الوحة

Link to comment
13 hours ago, MR_Mahmoud said:

اعرف ان المود من صنعه  المود منتشر بس انا عدلته وخليت لما يشتري الرتبة تنسحب رتبته الأولى وسويت رتبت المخالف لما يكون معه ادمن مخالف يقله لا يمكنك الشراء انت مخالف يعني انا عدلته وحقي اني اشفره

فقط لضمان حقوق الرجال حبيت استفسر منه

  • Like 1
Link to comment
2 minutes ago, *RayaN-Alharbi. said:

فقط لضمان حقوق الرجال حبيت استفسر منه

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

Link to comment

 

10 hours ago, MR_Mahmoud said:

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

  1. Quote

    GUIEditor.edit[1] = guiCreateEdit(43, 119, 163, 22, "MR_Mahmoud_M.H", false, Top1)


    ?
Link to comment
37 minutes ago, MR_Mahmoud said:

بله عليك يعني تبيني اخلي رقمك الواتساب ؟؟؟

كان كذا


GUIEditor.edit[1] = guiCreateEdit(43, 119, 163, 22, " 0537876295", false, Top1)

 

@N3xT

ترا ما يحتاج تسوي تريجر .. 

كل الي عليه يضيف الجدول في ملف اخر فقط

+ local يشيل

 

  • Like 1
Link to comment
20 minutes ago, #َxLysandeR said:

@N3xT

ترا ما يحتاج تسوي تريجر .. 

كل الي عليه يضيف الجدول في ملف اخر فقط

+ local يشيل

 

client





GUIEditor = {
    button = {},
	edit = {},
    label = {}
}
        TopBoyKa = guiCreateWindow(441, 239, 457, 337, "", false)
        guiWindowSetSizable(TopBoyKa, false)
		guiSetVisible(TopBoyKa, false)
        GiveAdmin = guiCreateGridList(9, 39, 440, 208, false, TopBoyKa)
        guiGridListAddColumn(GiveAdmin, "Admin", 0.3)
        guiGridListAddColumn(GiveAdmin, "Group", 0.3)
        guiGridListAddColumn(GiveAdmin, "Time", 0.3)
        GUIEditor.label[1] = guiCreateLabel(254, 294, 193, 33, "تريد شراء ساعات ؟ اضغط :", false, TopBoyKa)
        guiSetFont(GUIEditor.label[1], "default-bold-small")
        guiLabelSetHorizontalAlign(GUIEditor.label[1], "center", false)
        guiLabelSetVerticalAlign(GUIEditor.label[1], "center")
        Button1 = guiCreateButton(9, 296, 235, 31, "مـــن هــنـــآ", false, TopBoyKa)
        GUIEditor.button[1] = guiCreateButton(9, 251, 438, 33, "ترقية | Buy Rank", false, TopBoyKa)    


for k,v in ipairs ( Admin ) do
row = guiGridListAddRow(GiveAdmin);
guiGridListSetItemText(GiveAdmin,row,1,v[1],false,false);
guiGridListSetItemText(GiveAdmin,row,2,v[2],false,false);
guiGridListSetItemText(GiveAdmin,row,3,v[3],false,false);
end

xMainFunctions_ = function ( )
 local row, col = guiGridListGetSelectedItem ( GiveAdmin ) 
local Group = tostring ( guiGridListGetItemText(GiveAdmin,row,2 ));
local Price = tostring ( guiGridListGetItemText(GiveAdmin,row,3 ));
local Name = tostring ( guiGridListGetItemText(GiveAdmin,row,1 ));
   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",GUIEditor.button[1],xMainFunctions_,false)

local screenW, screenH = guiGetScreenSize()
Top1 = guiCreateWindow((screenW - 253) / 2, (screenH - 178) / 2, 253, 178, "شراء ساعات !", false)
guiWindowSetSizable(Top1, false)
guiSetVisible(Top1, false)
GUIEditor.label[2] = guiCreateLabel(49, 39, 170, 15, "شراء / 100 ساعه بـ 1 دولار $", false, Top1)
GUIEditor.edit[1] = guiCreateEdit(43, 119, 163, 22, "MR_Mahmoud_M.H", false, Top1)
GUIEditor.label[5] = guiCreateLabel(17, 94, 222, 15, "لشراء يرجاء مراسلة الادارة !", false, Top1)
guiLabelSetColor(GUIEditor.label[5], 253, 239, 0)
GUIEditor.button[22] = guiCreateButton(43, 145, 163, 23, "X", false, Top1)





addEventHandler("onClientGUIClick",root,
	function ()
		if ( source == GUIEditor.button[22] ) then
		guiSetVisible(Top1, false)
		showCursor(false)
		end
	end
)

guiSetVisible(TopBoyKa, false)
guiSetVisible(Top1, false)

local key = "F6"
function Show_Hide()
if guiGetVisible(TopBoyKa) == false then
guiSetVisible(TopBoyKa, true)
		guiSetVisible (Top1, false)
		triggerServerEvent("getTop", localPlayer)
showCursor(true)
else guiSetVisible(TopBoyKa, false) showCursor(false)
end end
bindKey(key,"down",Show_Hide)


addEventHandler("onClientGUIClick",root,
    function ()
        if source == Button1 then
		guiSetVisible (Top1, true)
		guiSetVisible (TopBoyKa, false)
    end
end 
)

guiSetProperty(Button1, "NormalTextColour", "FF00FBFE")
guiSetProperty(GUIEditor.button[22], "NormalTextColour", "FF00FBFE")


fileDelete("C.lua")

الملف الثاني الي مابيه يتشفر 

 
----------------------
-- Setting
----------------------

 Admin = {
{"","Police","10"},
{"","ADMIN","20"},
{"","Head.Admin","30"},
}

localشلت ال  

جربت اسويه client

وجربت Server

وماصار شوو السبب

Link to comment
1 hour ago, MR_Mahmoud said:

بله عليك يعني تبيني اخلي رقمك الواتساب ؟؟؟

كان كذا


GUIEditor.edit[1] = guiCreateEdit(43, 119, 163, 22, " 0537876295", false, Top1)

 

ورقمي بعد ذذ
حطه فأضي او حط حقوقي *

Link to comment
1 minute ago, King BoyKa said:

بأذن الله ههه
كميديا

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

Link to comment
1 minute ago, MR_Mahmoud said:

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

انت قلتها بنفسك بتسوي لوحة *
بس برمجة الاكواد ؟

من عندي !ء

وبعدين تبي النآس تساعدك اطرح لهم السيرفر والكلينت *
محد بياخذه ترا -

Edited by King BoyKa
Link to comment
8 minutes ago, King BoyKa said:

ورقمي بعد ذذ
حطه فأضي او حط حقوقي *

يعني اذا احد يبي يشتري ساعات في سيرفري يجي عندك  ذذ


local screenW, screenH = guiGetScreenSize()
Top1 = guiCreateWindow((screenW - 253) / 2, (screenH - 178) / 2, 253, 178, "شراء ساعات !", false)
guiWindowSetSizable(Top1, false)
guiSetVisible(Top1, false)
GUIEditor.label[2] = guiCreateLabel(49, 39, 170, 15, "شراء / 100 ساعه بـ 1 دولار $", false, Top1)
GUIEditor.edit[1] = guiCreateEdit(43, 119, 163, 22, "0537876295", false, Top1)
GUIEditor.label[5] = guiCreateLabel(17, 94, 222, 15, "لشراء يرجاء مراسلة الادارة !", false, Top1)
guiLabelSetColor(GUIEditor.label[5], 253, 239, 0)
GUIEditor.button[22] = guiCreateButton(43, 145, 163, 23, "X", false, Top1)

هههههههههه

2 minutes ago, King BoyKa said:

انت قلتها بنفسك بتسوي لوحة *
بس برمجة الاكواد ؟

من عندي !ء

وبعدين تبي النآس تساعدك اطرح لهم السيرفر والكلينت *
محد بياخذه ترا -

برمجة من عندك ؟؟؟ السيرفر ضليت فيه 5 ايام اسويه تقلي من عندك سويته لما يشتري رتبة تنسحب الأولا وسويت ادمن المخالف مايقدر يشتري رتبة وتقلي اكوادك الله يصلحك

Link to comment
1 minute ago, MR_Mahmoud said:

يعني اذا احد يبي يشتري ساعات في سيرفري يجي عندك  ذذ


local screenW, screenH = guiGetScreenSize()Top1 = guiCreateWindow((screenW - 253) / 2, (screenH - 178) / 2, 253, 178, "شراء ساعات !", false)guiWindowSetSizable(Top1, false)guiSetVisible(Top1, false)GUIEditor.label[2] = guiCreateLabel(49, 39, 170, 15, "شراء / 100 ساعه بـ 1 دولار $", false, Top1)GUIEditor.edit[1] = guiCreateEdit(43, 119, 163, 22, "0537876295", false, Top1)GUIEditor.label[5] = guiCreateLabel(17, 94, 222, 15, "لشراء يرجاء مراسلة الادارة !", false, Top1)guiLabelSetColor(GUIEditor.label[5], 253, 239, 0)GUIEditor.button[22] = guiCreateButton(43, 145, 163, 23, "X", false, Top1)

هههههههههه

واضح م عندك موضوع *
حاط اسمك وتقول تواصل مع الأدارة حط رقمك طيب :

.إنتهى

Link to comment

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...