-
Posts
19 -
Joined
-
Last visited
Posts posted by [#]~>Abo'ALnshmy_979!!
-
-
-- حط السيريالات هنا local Serials = { ["sssssssssssssssssssssssssssssss"] = true, } GUIEditor = { button = {}, window = {}, edit = {} } local screenW, screenH = guiGetScreenSize() GUIEditor.window[1] = guiCreateWindow((screenW - 293) / 2, (screenH - 113) / 2, 293, 113, "توزيع السلحة", false) guiWindowSetSizable(GUIEditor.window[1], false) GUIEditor.edit[1] = guiCreateEdit(9, 31, 182, 32, "", false, GUIEditor.window[1]) GUIEditor.button[1] = guiCreateButton(191, 32, 91, 35, "اعطاء اسلحة", false, GUIEditor.window[1]) guiSetFont(GUIEditor.button[1], "default-bold-small") guiSetProperty(GUIEditor.button[1], "NormalTextColour", "FF12FE00") guiSetFont(GUIEditor.button[2], "default-bold-small") guiSetProperty(GUIEditor.button[2], "NormalTextColour", "FF12FE00") GUIEditor.button[3] = guiCreateButton(9, 67, 91, 35, "اغلاق", false, GUIEditor.window[1]) guiSetFont(GUIEditor.button[3], "default-bold-small") guiSetProperty(GUIEditor.button[3], "NormalTextColour", "FF12FE00") GUIEditor.button[4] = guiCreateButton(192, 67, 91, 35, "اعطاء الكل اسلحة", false, GUIEditor.window[1]) guiSetFont(GUIEditor.button[4], "default-bold-small") guiSetProperty(GUIEditor.button[4], "NormalTextColour", "FF12FE00") addEventHandler("onClientGUIClick",root,function () if source == GUIEditor.button[1] then local houres = guiGetText(GUIEditor.edit[1]) triggerServerEvent("Give;Houres",localPlayer,houres) elseif source == GUIEditor.button[2] then triggerServerEvent("Enable;Houres",localPlayer,'true') elseif source == GUIEditor.button[4] then triggerServerEvent("Enable;Houres",localPlayer,'false') elseif source == GUIEditor.button[3] then guiSetVisible(GUIEditor.window[1],false) showCursor(false) end end) guiSetVisible (GUIEditor.window[1], false ) function OpenWin() if Serials[getPlayerSerial(localPlayer)] then if guiGetVisible(GUIEditor.window[1]) then guiSetVisible(GUIEditor.window[1],false) showCursor(false) guiSetInputEnabled(false) else guiSetVisible(GUIEditor.window[1],true) showCursor(true) guiSetInputEnabled(true) end end end bindKey("F2", "down", OpenWin)
....السلام عليكم
F2..اريد مساعدة في هذا كود , هذا كود يفتح لوحة عن طريق
اريد بدل ما يفتح من زر اف 2 اريد يفتح عن طريق كلمة من اف 8 وعن طريق سريال مثل اف 2
F2 للعلم لوحة تفتح على سريال
واتمنى تساعدوني وشكرا
-
ممكن رابط تحميل مود مسابقة يا معلم..
-
Just now, ,#Savage said:
يعني الحين انا فاتح الموضوع حقه واكتب الكود الاقيك مساعده , ض2 المهم بالتوفيق يا كيلر
ولا يهمك
يسلمو ما قصرتو الحين بروح اجرب
الحين كودات نفس بعد حق كلير وحقك
يعطيك الف عافية
-
7 minutes ago, #[K]iLLeR<3 said:
طيب ورينا محاولاتك
ما عندي اكواد سريال عشان احاول
-
السلام عليكم ذي لوحة تفتح في اف 4 واريد هذا لوحة تفتح على سريال ممكن تعطوني كود سريال وتركبو في ذي كودات الوحة ويريت لو تحطون 5 سريالات وانا اعدل بعدين على سريالات وشكرا لكم
--- Edit by TNT GUIEditor = { button = {}, window = {}, edit = {} } local screenW, screenH = guiGetScreenSize() GUIEditor.window[1] = guiCreateWindow((screenW - 293) / 2, (screenH - 113) / 2, 293, 113, "توزيع السلحة", false) guiWindowSetSizable(GUIEditor.window[1], false) GUIEditor.edit[1] = guiCreateEdit(9, 31, 182, 32, "", false, GUIEditor.window[1]) GUIEditor.button[1] = guiCreateButton(191, 32, 91, 35, "اعطاء سلاح", false, GUIEditor.window[1]) guiSetFont(GUIEditor.button[1], "default-bold-small") guiSetProperty(GUIEditor.button[1], "NormalTextColour", "FF12FE00") GUIEditor.button[2] = guiCreateButton(100, 67, 91, 35, "اسلحة", false, GUIEditor.window[1]) guiSetFont(GUIEditor.button[2], "default-bold-small") guiSetProperty(GUIEditor.button[2], "NormalTextColour", "FF12FE00") GUIEditor.button[3] = guiCreateButton(9, 67, 91, 35, "اغلاق", false, GUIEditor.window[1]) guiSetFont(GUIEditor.button[3], "default-bold-small") guiSetProperty(GUIEditor.button[3], "NormalTextColour", "FF12FE00") GUIEditor.button[4] = guiCreateButton(192, 67, 91, 35, "اعطاء الكل اسلحة", false, GUIEditor.window[1]) guiSetFont(GUIEditor.button[4], "default-bold-small") guiSetProperty(GUIEditor.button[4], "NormalTextColour", "FF12FE00") addEventHandler("onClientGUIClick",root,function () if source == GUIEditor.button[1] then local houres = guiGetText(GUIEditor.edit[1]) triggerServerEvent("Give;Houres",localPlayer,houres) elseif source == GUIEditor.button[2] then triggerServerEvent("Enable;Houres",localPlayer,'true') elseif source == GUIEditor.button[4] then triggerServerEvent("Enable;Houres",localPlayer,'false') elseif source == GUIEditor.button[3] then guiSetVisible(GUIEditor.window[1],false) showCursor(false) end end) guiSetVisible (GUIEditor.window[1], false ) function OpenWin() if guiGetVisible (GUIEditor.window[1]) then guiSetVisible (GUIEditor.window[1], false ) showCursor(false) guiSetInputEnabled(false) else triggerServerEvent("SHOW_s",localPlayer) end end bindKey("F4", "down", OpenWin) addEvent('SHOW',true) addEventHandler('SHOW',root, function () guiSetVisible (GUIEditor.window[1], true ) showCursor(true) guiSetInputEnabled(true) end )
-
On ٣٠/٦/٢٠١٨ at 07:09, Rakan# said:
Ranks = { -- الرتب {"Console"}, } addCommandHandler("givetime", function (player,cmd,PlayerName,Time) if PlayerName and Time then local thePlayer = getPlayerFromName(PlayerName) if isElement(thePlayer) then for i = 1, #Ranks do if isObjectInACLGroup ( "user."..getAccountName( getPlayerAccount( player ) ), aclGetGroup ( Ranks[i][1] ) ) then if tonumber(Time) then t[thePlayer]["hour"] = tonumber(Time) outputChatBox("* DONE",player,0,255,0) else outputChatBox("* خطء في الوقت",player,255,0,0) end break else outputChatBox("",player,255,0,0) end end else outputChatBox("",player,255,0,0) end end end )
@*RayaN-Alharbi.
استعمالك خطا له
لي خطأ ؟؟
-
On ٢٢/٦/٢٠١٨ at 11:56, Abu-Solo said:
للاسف المود يسوي لاق في سيرفر
FPS ينزل
عند كل لاعبين ويعلق سيرفر
-
5 hours ago, +Source|> said:
Ranks = { -- الرتب {"Console"}, } addCommandHandler("givetime", function (player,cmd,PlayerName,Time) if PlayerName and Time then local thePlayer = getPlayerFromName(PlayerName) if isElement(thePlayer) then for i = 1, #Ranks do if isObjectInACLGroup ( "user."..getAccountName( getPlayerAccount( player ) ), aclGetGroup ( Ranks[i][1] ) ) then if tonumber(Time) then t[thePlayer]["hour"] = tonumber(Time) outputChatBox("* DONE",player,0,255,0) else outputChatBox("* خطء في الوقت",player,255,0,0) end else outputChatBox("",player,255,0,0) end end else outputChatBox("",player,255,0,0) end end end )
مشكور اخوي العزيز ومشكور للكل الي شارك معي في مساعدة كودات يعطيكم الف عافية
تم الافادة وشكرا لكم
- 1
-
Just now, ,#Savage said:
تفضل الكود من جديد بعد التصليحات وجعلها نفس طلبك
100% ملاحظة :- الكود مجرب وشغال
جربته بـ 4 رتب وشغال كويس
-- ده الكود تحطه في ملف كلنت function OpenPanel ( ) if guiGetVisible ( Panel ) then -- Panel هنا تحط اسم اللوحة عشان تفتح حطها بدال كلمة guiSetVisible( Panel , false ) -- Panel هنا تحط اسم اللوحة عشان تفتح حطها بدال كلمة guiSetInputEnabled( false ) showCursor( false ) else triggerServerEvent("Open1" , localPlayer ) end end addCommandHandler("Test" , OpenPanel ) -- Test وهنا الكلمة التفتح اللوحة حطها بدال كلمة addEvent('Open2',true) addEventHandler('Open2' , root , function ( player_ ) guiSetVisible( Panel , true ) -- Panel هنا تحط اسم اللوحة عشان تفتح حطها بدال كلمة guiSetInputEnabled( true ) showCursor( true ) end )
_________________________________________________________________________________
GroupsOpen = { "Group" , "Group" , "Group" , "Group" , "Group" , "Group" } -- Group القروبات التفتح اللوحة التبيها انت حطها بدال كلمة addEvent("Open1",true) addEventHandler("Open1",root, function ( ) local Acc = getAccountName(getPlayerAccount(source)) for i,v in ipairs( GroupsOpen ) do if isObjectInACLGroup("user." .. Acc, aclGetGroup ( v ) ) then triggerClientEvent ( source , "Open2" , source ) end end end )
ملاحظة مره اخرى :- الكود مجرب وشغال
شكرا على مساعدتك لكن كودك بعيد عن موضوع لان كود حقك هو مود يفتح في لوحة
تعبتك معي..
الحين بطرح كود حقي كامل ..كان لازم من بداية اطرحة لكن قلت اريد اركب كوادت اتعلم برمجة لكن خلاص بطرح موضوعي كامل..
هذا مثال :-
GroupsOpen = { "Group" , "Group" , "Group" , "Group" , "Group" , "Group" } -- Group القروبات التفتح اللوحة التبيها انت حطها بدال كلمة
هذا كود كامل حقي لكن اريد يفتح اكثر من قروب بدل كونسل اعتقد واضح
هنا موضوعي ابيه يفتح اكثر من قروب
addCommandHandler("givetime", function (player,cmd,PlayerName,Time) if PlayerName and Time then local thePlayer = getPlayerFromName(PlayerName) if isElement(thePlayer) then if isObjectInACLGroup ( "user."..getAccountName( getPlayerAccount( player ) ), aclGetGroup ( "Console" ) ) then if tonumber(Time) then t[thePlayer]["hour"] = tonumber(Time) outputChatBox("* DONE",player,0,255,0) else outputChatBox("* خطء في الوقت",player,255,0,0) end else outputChatBox("",player,255,0,0) end else outputChatBox("",player,255,0,0) end end end )
-
9 minutes ago, +Source|> said:
وضح الطلب؟
عندي مود في امر ينكتب في اف 8
والحين اريد رتب محددة تكتب ذا الامر في اف 8
موب بس كونسل يكتب الامر
اعتقد واضح..!
-
السلام عليكم...
مطلوب كود قروب + كيف اضيف اكثر من رتبة في قروب في نفس كود
لاني محتاجة في مود
والمود عبارة عن امر تكتبة في اف 8 عايز بس اصحاب رتب الي في القروب يكتبونة
مثال:- هذا قروب كونسل عايز اضيف في كمان 4 قروبات كيف ؟ انا حاولت كثير لكن فشلت
if isObjectInACLGroup ( "user."..getAccountName( getPlayerAccount( player ) ), aclGetGroup ( "Console" ) ) then
-
On ٢٤/٦/٢٠١٨ at 13:10, #BrosS said:
addCommandHandler("givetime", function (player,cmd,PlayerName,Time) if PlayerName and Time then local thePlayer = getPlayerFromName(PlayerName) if isElement(thePlayer) then if isObjectInACLGroup ( "user."..getAccountName( getPlayerAccount( player ) ), aclGetGroup ( "Console" ) ) then if tonumber(Time) then t[thePlayer]["hour"] = tonumber(Time) outputChatBox("* نـجـح",player,0,255,0) else outputChatBox("* خطء في الوقت",player,255,0,0) end else outputChatBox("* لم يـتـم إيـجـاد الاعب",player,255,0,0) end else outputChatBox("givetime ",player,255,0,0) end end end )
مشكووور اخوي على مساعدة تم الافادة ق8
-
21 hours ago, [#]~>Abo'ALnshmy_979!! said:
اريد لما اكتب في اف 8 givetime
يشتغل على رتبة اي يعني اسوي له قروب للكونسل فقط يقدر يكتب في اف 8 ذي خاصية
addCommandHandler("givetime", function (player,cmd,PlayerName,Time) if PlayerName and Time then local thePlayer = getPlayerFromName(PlayerName) if isElement(thePlayer) then if tonumber(Time) then t[thePlayer]["hour"] = tonumber(Time) outputChatBox("* نـجـح",player,0,255,0) else outputChatBox("* خطء في الوقت",player,255,0,0) end else outputChatBox("* لم يـتـم إيـجـاد الاعب",player,255,0,0) end else outputChatBox("givetime ",player,255,0,0) end end )
- 1
-
اريد لما اكتب في اف 8 givetime
يشتغل على رتبة اي يعني اسوي له قروب للكونسل فقط يقدر يكتب في اف 8 ذي خاصية
addCommandHandler("givetime",
function (player,cmd,PlayerName,Time)
if PlayerName and Time then
local thePlayer = getPlayerFromName(PlayerName)
if isElement(thePlayer) then
if tonumber(Time) then
t[thePlayer]["hour"] = tonumber(Time)
outputChatBox("* نـجـح",player,0,255,0)
else
outputChatBox("* خطء في الوقت",player,255,0,0)
end
else
outputChatBox("* لم يـتـم إيـجـاد الاعب",player,255,0,0)
end
else
outputChatBox("givetime ",player,255,0,0)
end
end
) -
Just now, Abu-Solo said:
شغل المود واكتب في اف 8
debugscript 3
وقلي وش يجيك
طيب اعطني رابط المود الاخير بدون لاق اجربة ورد عليك لو سمحت لاني تخربطط في روابط ما ودي اظلمك بعدين
-
Just now, Abu-Solo said:
غريبة !
شغال عندي بدون لاق !
متأكد انه مافيه شئ ناقص بـ الملفات ؟
كـ صوره او كـ شئ اخر
شغل المود واكتب بـ اف 8
debugscript 3
وصورلي وش يجيك
للعلم انا غيرت صورة لكن ما اظن ذي سبب ؟
اعطني رابط او ملف الي عندك شغال تمام
-
2 minutes ago, Abu-Solo said:
الاصدار الجديد والاخير بدون لاق ,
قبل نص ساعة ركبتة في سيرفر وبعدين جاه لاق الله اعلم كيف طفيت المود
نزل الفبس عند كل لاعبين وجاهم لاق شنيع
-
الحين المود في لاق الفبس ولا لا.. ركبت المود في صار وعلق ام سيرفر ونزل الفبس
وهل الاصدار الجديد الاخير شغال بدون لاق ؟؟
اريد مساعدة في تبديل الكود
in البرمجة
Posted · Edited by [#]~>Abo'ALnshmy_979!!
يعطيك الف عافية تم مساعدة