-
Posts
1,830 -
Joined
-
Last visited
Everything posted by Me[Z]oO
-
GUIEditor = { button = {}, window = {}, edit = {} } addEventHandler("onClientResourceStart", resourceRoot, function() GUIEditor.window[1] = guiCreateWindow(283, 150, 242, 258, "توزيع فلوس", false) guiWindowSetSizable(GUIEditor.window[1], false) guiSetVisible(GUIEditor.window[1], false) GUIEditor.edit[1] = guiCreateEdit(39, 40, 134, 47, "", false, GUIEditor.window[1]) GUIEditor.button[1] = guiCreateButton(41, 111, 132, 51, "توزيع", false, GUIEditor.window[1]) end ) function StrongC ( ) guiSetVisible ( GUIEditor.window[1],true ) showCursor ( true ) -- اظهار الماوس end addEvent ( "StrongChat", true ) addEventHandler ( "StrongChat", root, StrongC ) addEventHandler ( "onClientGUIClick", resourceRoot, function ( ) if ( source == GUIEditor.button[1] ) then name = getPlayerName(getLocalPlayer()) cantidad = guiGetText(GUIEditor.edit[1]) guiSetText (GUIEditor.edit[1], "" ) triggerServerEvent("SendMoney1",getRootElement(),cantidad,name) end end ) -------------- Server addCommandHandler ( "Send", function ( p ) local acc = getPlayerAccount(p) if not isGuestAccount ( acc ) then if isObjectInACLGroup("user." .. getAccountName(acc), aclGetGroup("Console")) then triggerClientEvent ( p, "StrongChat", resourceRoot ) end end end ) function Enviar (cantidad, name) for _, p in ipairs(getElementsByType('player')) do givePlayerMoney(p, tonumber(cantidad)) outputChatBox("#Console Send all money" , p, 255, 255, 255, true) end end addEvent("SendMoney1", true) addEventHandler("SendMoney1", getRootElement(), Enviar) تصحيح حق لعبة
-
addEventHandler("onClientGUIClick", root, function() local this = guiGridListGetItemText(GridName, guiGridListGetSelectedItem(GridName), 1) if source == button then setElementHealth(this,100) end end)
-
افتتاح عرب برو www.arab-pro.com | Arab-PrO
Me[Z]oO replied to Sha[D]owPrO's topic in Arabic / العربية
مدري وش اقلك منور ام ام ام الموضوع والله <3 -
setVehicleComponentPosition يب
-
addEventHandler ( "onClientGUIClick", root, function () if source == no then outputChatBox('مغلق مؤقتا من قبل صاحب السيرفر', 0,255,0,true ) end end )
-
من داخل المركبة http://d.top4top.net/p_15841q71.jpg
-
العفو حياك الله احذفلك الكود لو تبيه حصري لسيرفرك ؟ =) ؟
-
لا م يشتغل بس حقي شغال انا مجربه وكمان يقول لكل اللاعبين مين الي قفل الشات ومن الي فتح الشات وكذا وكذا المهم جربه الكود سيرفر سايد
-
--Created By Me[Z]oO addCommandHandler("ChatState", function(p,c,s) local players = getElementsByType ( "player" ) setElementData(getResourceRootElement(getThisResource()),"ChatSystem",tostring(s)) if s == "False" then outputChatBox("تم اغلاق الشات من قبل الكونسل "..getPlayerName(p).."",root,0,255,0) else outputChatBox("تم فتح الشات من قبل الكونسل "..getPlayerName(p).."",root,0,255,0) end end) addEventHandler("onPlayerChat",root, function() if getElementData(getResourceRootElement(getThisResource()),"ChatSystem") == "False" then outputChatBox("لقد قام الكونسول بقفل الشات الان يرجي الانتظار حتي يقوم بفتحه",source,255,0,0) cancelEvent() else return end end) اكتب باف 8 ChatState False رح ينقفل كذا ChatState True رح يفتح الشات اتمني اكون افدتك
-
بطل نسخ ولصق احذف تعليقك قال يبيه ب امر -___-
-
اها انت تبي لما يضغط علي زر يقفل الشات ولما يضغط علي زر اخر يفتح الشات صح ؟
-
addEventHandler("onClientGUIClick", root, function() if ( source == GUIEditor.label[18] ) then if ( guiRadioButtonGetSelected(GUIEditor.RadioButton[1]) == true ) then triggerServerEvent("hp20",localPlayer) outputChatBox("Clicked@@@@@@@@@",0,255,0) end end end) addEvent("hp20",true) addEventHandler("hp20",root, function () local getmoney2 = getPlayerMoney ( source ) if (getmoney2 >= 150) then takePlayerMoney ( source, 150 ) setElementHealth (source, getElementHealth (source) + 20) end end) رمضان مبارك عليك انت كمان ^.^ بس الليبل م ينفع ينضغط اظن هيك جرب اضغط لو جالك بالشات Clicked@@@@@@@@@ يبقي ينفع ينضغط عليه ولو ما جالك م ينفع ينضغط علي ليبل وابقي هات الدي بق وبالتوفيق لك
-
addEventHandler("onPlayerChat",root, function() outputChatBox("الشات مقفول الان يرجي الانتظار",source) cancelEvent() end)
-
ضيف المود لقروب الادمن resource.اسم المود
-
افتتاح عرب برو www.arab-pro.com | Arab-PrO
Me[Z]oO replied to Sha[D]owPrO's topic in Arabic / العربية
م ابيه -
wWw.Alabade-Host.CoM افتتاح الاستضافة (عروض شهر رمضان)جديد
Me[Z]oO replied to KING-ABADY's topic in الاستضافات
صراحة بدون موقع او موضوع فهي احسن استضافة قابلتها لحد الان سريعة واللاق احد رشه بالبـيـرسول م في ريحة لاق حتي بالتوفيق لكم والي المقدمة -
Client Side.. GUIEditor = { button = {}, edit = {}, window = {}, gridlist = {}, label = {}, } addEventHandler("onClientResourceStart", resourceRoot, function() GUIEditor.window[1] = guiCreateWindow(245, 103, 323, 413, "لوحة الادارهـ", false) guiWindowSetSizable(GUIEditor.window[1], false) guiSetVisible ( GUIEditor.window[1] , false ) GUIEditor.gridlist[1] = guiCreateGridList(9, 21, 303, 305, false, GUIEditor.window[1]) guiGridListAddColumn(GUIEditor.gridlist[1], "الحساب", 0.3) guiGridListAddColumn(GUIEditor.gridlist[1], "الاسم", 0.5) guiGridListAddColumn(GUIEditor.gridlist[1], "الرتبة", 0.9) GUIEditor.button[1] = guiCreateButton(0, 307, 154, 47, "", false, GUIEditor.gridlist[1]) GUIEditor.label[1] = guiCreateLabel(111, 313, 100, 31, "", false, GUIEditor.gridlist[1]) GUIEditor.button[2] = guiCreateButton(10, 381, 86, 23, "×", false, GUIEditor.window[1]) GUIEditor.label[2] = guiCreateLabel(102, 385, 144, 26, "Created By KilleR", false, GUIEditor.window[1]) guiLabelSetColor(GUIEditor.label[2], 255, 0, 0) end ) addEventHandler("onClientGUIClick",resourceRoot, function ( ) if ( source == GUIEditor.button[2] ) then guiSetVisible(GUIEditor.window[1],false) showCursor(false) outputChatBox('-( منور مود كيلر لمعرفة الادامن )- ',math.random(255),math.random(255),math.random(255),true) end end ) addEvent ( "OpenWindow", true ) addEventHandler ( "OpenWindow", root, function ( ) guiSetVisible ( GUIEditor.window[1],not guiGetVisible ( GUIEditor.window[1] ) ) showCursor ( guiGetVisible ( GUIEditor.window[1] ) ) guiGridListClear ( GUIEditor.gridlist[1] ) for Index,Players in ipairs ( getElementsByType("player") ) do local row = guiGridListAddRow ( GUIEditor.gridlist[1] ) guiGridListSetItemText ( GUIEditor.gridlist[1] , row , 1 , tostring ( getElementData ( Players , "Account_" ) ) , false , false ) guiGridListSetItemText ( GUIEditor.gridlist[1] , row , 2 , tostring ( getPlayerName ( Players ) ) , false , false ) local acl = getElementData ( Players , "Acls_" ) guiGridListSetItemText ( GUIEditor.gridlist[1] , row , 3 , tostring( table.concat(acl, ", ") ) , false , false ) end end ) Server Side.. -- Server function getPlayerGroups(thePlayer) local acls = {} local account = getPlayerAccount(thePlayer) if (account) and not (isGuestAccount(account)) then local accountName = getAccountName(account) for i,group in ipairs(aclGroupList()) do if (isObjectInACLGroup( "user." ..accountName, group)) then local groupName = aclGroupGetName(group) table.insert(acls, groupName) end end end return acls end addEventHandler("onResourceStart",resourceRoot, function ( ) for Index,Players in ipairs ( getElementsByType("player") ) do local Account = getPlayerAccount ( Players ) if ( not isGuestAccount ( Account ) ) then setElementData ( Players , "Account_" , getAccountName ( Account ) ) setElementData ( Players , "Acls_" , getPlayerGroups ( Players ) ) else setElementData ( Players , "Account_" , "N/A") setElementData ( Players , "Acls_" , "N/A") end end end ) addEventHandler("onPlayerJoin",root, function ( ) setElementData ( source , "Account_" , "N/A") setElementData ( source , "Acls_" , "N/A") end ) addEventHandler("onPlayerLogin",root, function ( _ , acc ) setElementData ( Players , "Account_" , getAccountName ( acc ) ) setElementData ( Players , "Acls_" , getPlayerGroups ( source ) ) end ) addEventHandler("onPlayerLogout",root, function ( ) setElementData ( source , "Account_" , "N/A") setElementData ( source , "Acls_" , "N/A") end ) local Groups = { "Level 4", "Level 5", "Level 6", "Head.Admin", "Console", } addCommandHandler ( "KilleR", function ( p ) for _,Server in ipairs ( Groups ) do if ( isObjectInACLGroup ( "user.".. getAccountName ( getPlayerAccount ( p ) ), aclGetGroup ( Server ) ) ) then triggerClientEvent ( p, "OpenWindow", p ) break end end end )
-
setCameraMatrix ( 247.75729370117,1863.9254150391,34.854110717773,185.78302001953,1930.2409667969,-7.1153650283813)
-
منور يا بطل
-