-
Posts
1,486 -
Joined
-
Last visited
Everything posted by shwaeki
-
ادخل على السكور بورد و روح ملف dxscoreboard_clientsettings
-
طيب كيف يجيب وقت الميوت يسوي نظام ميوت احسنلة
-
هو بدة مثلا اعطا شخص ميوت مدة 5 دقائق و الشخص طلع و كان تايملة 3 دقائق هدول الثلاث دقائق لما يدخل بيسرو ينقصو و اذا ما كان داخل ما ينقصو
-
اعتقد لازم تسوي نظام ميوت كامل
-
والان في سجن لمدة 5 ايام شكلك ما زلت تزوير ~ # هههههههههههههههههههههههههه اجل بسجن الله يشفيك بس مريض انت نفسيآ # + حتا لو تشتكي > معي دليل انك تسبني و تسب اهلي و تسب ام كلاسيك وو مسوي مشاكل و اشياء الخ معي دليل اني رجعت خادمك : $> يعني تاكل خرا اهه طيب ليش الغلط
-
اوك هو مقلد و انتا مالك و ايش دخلك ؟؟
-
^^
-
سيرفر Groups = { -- القروبات المسموح لها بالكتابة "Admin", "Console", } -------------------- لا داعي لتعديل الأكواد تحت هذا السطر ------------------- function check ( thePlayer, commandName, ... ) local accName = getAccountName ( getPlayerAccount ( thePlayer ) ) local veve = { ... } local message = table.concat ( veve, " " ) for i, v in ipairs ( Groups ) do if isObjectInACLGroup ( "user."..accName, aclGetGroup ( v ) ) then setElementData ( resourceRoot, "MessageAdmin", message ) SaveMessage ( ) triggerClientEvent ( "sora", getRootElement( ), getElementData ( resourceRoot, "MessageAdmin" ) ) end end end addCommandHandler( "Admin", check ) addEventHandler ( "onResourceStart", resourceRoot, function ( ) executeSQLQuery("CREATE TABLE IF NOT EXISTS SaveMessages (Message, Server)") end ) addEvent ( "SetMessage", true ) addEventHandler ( "SetMessage", root, function ( ) getMessage ( ) end ) SaveMessage = function ( ) local msg = executeSQLQuery ( "SELECT * FROM SaveMessages WHERE Server = '" .. getServerName ( ) .."'" ) if ( #msg ~= 0 ) then return executeSQLQuery("UPDATE SaveMessages SET Message=? WHERE Server=? ", tostring ( getElementData ( resourceRoot, "MessageAdmin" ) ), getServerName ( ) ) else return executeSQLQuery("INSERT INTO SaveMessages (Message,Server) VALUES(?,?)", tostring ( getElementData ( resourceRoot, "MessageAdmin" ) ), getServerName ( ) ) end end getMessage = function ( ) local msg = executeSQLQuery ( "SELECT * FROM SaveMessages" ) if ( #msg ~= 0 ) then setElementData ( resourceRoot, "MessageAdmin", msg[1]["Message"] ) return setTimer ( triggerClientEvent, 1000, 1, "sora", getRootElement( ), getElementData ( resourceRoot, "MessageAdmin" ) ) else return setTimer ( triggerClientEvent, 1000, 1, "sora", getRootElement( ), " " ) end end
-
يا حبيبي قولت لك اطرح الاكواد عشين نحل المشكلة اذا ما بدك تغير اسم الجدول
-
اطرح اكواد العاجل
-
شوف هاد الموضوع و تعلم منة viewtopic.php?f=164&t=62247
-
من ذا بيست addEventHandler('onPlayerQuit',root, -- اذا خرج اللاعب function() -- وظيفه local vAcc = getPlayerAccount(source) -- نجيب حسابه if not vAcc or isGuestAccount(vAcc) then return end -- اذا كان مو مسجل الدخول نقفل الوظيفه setAccountData(vAcc,'Name',getPlayerName(source)) -- نسوي داتا لإسمه end -- اغلاق ) -- اغلاق addEventHandler('onPlayerLogin',root, -- اذا اللاعب سجل دخوله function(_,acc) -- وظيفه local v_Data = getAccountData(acc,'Name') -- نجيب الداتا if ( v_Data ) then -- تحقق setPlayerName(source,v_Data) -- نعطيه الاسم end -- اغلاق end -- اغلاق ) -- اغلاق
-
عفوا بس ضفت هاد guiSetVisible ( wnd, false )
-
GUIEditor = { button = {}, window = {}, label = {} } addEventHandler("onClientResourceStart", resourceRoot, function() wnd = guiCreateWindow(437, 101, 439, 556, "مود تغير الوقت", false) guiSetVisible ( wnd, false ) guiWindowSetSizable(wnd, false) GUIEditor.label[1] = guiCreateLabel(0, 30, 439, 186, "SetTime", false, wnd) guiSetFont(GUIEditor.label[1], "sa-header") guiLabelSetColor(GUIEditor.label[1], 254, 254, 254) guiLabelSetHorizontalAlign(GUIEditor.label[1], "center", false) guiLabelSetVerticalAlign(GUIEditor.label[1], "center") GUIEditor.label[2] = guiCreateLabel(10, -10, 85, 28, "V1.0", false, GUIEditor.label[1]) guiLabelSetVerticalAlign(GUIEditor.label[2], "center") GUIEditor.label[3] = guiCreateLabel(38, 121, 437, 38, "By : #iiMOody", false, wnd) guiSetFont(GUIEditor.label[3], "default-bold-small") guiLabelSetHorizontalAlign(GUIEditor.label[3], "center", false) guiLabelSetVerticalAlign(GUIEditor.label[3], "center") GUIEditor.button[1] = guiCreateButton(9, 285, 420, 46, "10 : 00", false, wnd) guiSetProperty(GUIEditor.button[1], "NormalTextColour", "FFAAAAAA") GUIEditor.button[2] = guiCreateButton(9, 354, 420, 46, "15 : 00", false, wnd) guiSetProperty(GUIEditor.button[2], "NormalTextColour", "FFAAAAAA") GUIEditor.button[3] = guiCreateButton(11, 423, 419, 46, "20 : 00", false, wnd) guiSetProperty(GUIEditor.button[3], "NormalTextColour", "FFAAAAAA") GUIEditor.button[4] = guiCreateButton(9, 493, 420, 46, "00 : 00", false, wnd) guiSetProperty(GUIEditor.button[4], "NormalTextColour", "FFAAAAAA") GUIEditor.button[5] = guiCreateButton(10, 216, 420, 46, "05 : 00", false, wnd) guiSetProperty(GUIEditor.button[5], "NormalTextColour", "FFAAAAAA") end ) addEventHandler('onClientGUIClick', root, function ( ) if ( source == GUIEditor.button[1] ) then triggerServerEvent('M1', localPlayer) end -- اغلاق end -- اغلاق ) -- اغلاق addEventHandler('onClientGUIClick', root, function ( ) if ( source == GUIEditor.button[2] ) then triggerServerEvent('M2', localPlayer) end -- اغلاق end -- اغلاق ) -- اغلاق addEventHandler('onClientGUIClick', root, function ( ) if ( source == GUIEditor.button[3] ) then triggerServerEvent('M3', localPlayer) end -- اغلاق end -- اغلاق ) -- اغلاق addEventHandler('onClientGUIClick', root, function ( ) if ( source == GUIEditor.button[4] ) then triggerServerEvent('M4', localPlayer) end -- اغلاق end -- اغلاق ) -- اغلاق addEventHandler('onClientGUIClick', root, function ( ) if ( source == GUIEditor.button[5] ) then triggerServerEvent('M5', localPlayer) end -- اغلاق end -- اغلاق ) -- اغلاق bindKey ( "F6", "down", function ( ) guiSetVisible ( wnd, not guiGetVisible( wnd ) ) showCursor( guiGetVisible( wnd ) ) end )
-
^ تقدر تعطيني مود اكسيتي
-
if ( getPlayerWantedLevel ( Player ) > 0 ) then بدل كلمة بيلير بل متغير يلي عندك
-
يا اخي اعطوك الفكشن استخدمة
-
^ بدل كلمة element
-
Mr.alkmasha and Ge[N]eraL,10 اعتقد فيكو تحكلو على الخاص لانو هون مش يا مشاكل الاشخاص
-
كلة غلط و اذا ما تعرف شوفلك حد يسويلك اياه بفلوس
-
^ GG انتا عمل اذا عص على زر عير ليل اسمة يطلع له لا تملك نقود
-
^ ليش 4 ردود و كول هاد حطخهم كلهم في رد
-
^ لا و جرب الكود مو كل تعديل تقول صح ولا غلط
-
الفلوس في الكلنت تكون وهمية و السورس يعني الزر انتا تعطي الزر فلوس