Jump to content

Me[Z]oO

Members
  • Posts

    1,830
  • Joined

  • Last visited

Everything posted by Me[Z]oO

  1. addEventHandler --'onClientGUIClick' triggerServerEvent startResource stopResource
  2. من زمان ما شفناك طلال منور
  3. local key = "o" GUIEditor = { checkbox = {}, label = {}, button = {}, window = {}, scrollbar = {}, gridlist = {} } addEventHandler("onClientResourceStart", resourceRoot, function() local screenW, screenH = guiGetScreenSize() GUIEditor.window[1] = guiCreateWindow((screenW - 573) / 2, (screenH - 481) / 2, 573, 481, "نضام الإستئجار (لوحة التحكم)", false) guiWindowSetSizable(GUIEditor.window[1], false) guiSetProperty(GUIEditor.window[1], "CaptionColour", "FFB7A700") guiSetVisible (GUIEditor.window[1],false) GUIEditor.gridlist[1] = guiCreateGridList(9, 32, 342, 403, false, GUIEditor.window[1]) guiGridListAddColumn(GUIEditor.gridlist[1], "الأي دي", 0.3) guiGridListAddColumn(GUIEditor.gridlist[1], "اسم المركبة", 0.3) guiGridListAddColumn(GUIEditor.gridlist[1], "نوع المركبة", 0.3) GUIEditor.button[1] = guiCreateButton(361, 42, 202, 47, "صنع مركبة", false, GUIEditor.window[1]) --1 GUIEditor.button[2] = guiCreateButton(361, 99, 202, 47, "ازالة مركبة", false, GUIEditor.window[1]) --2 GUIEditor.button[3] = guiCreateButton(361, 156, 202, 47, "اصلاح مركبة", false, GUIEditor.window[1]) --3 GUIEditor.button[4] = guiCreateButton(362, 213, 201, 47, "انتقال الى المركبة", false, GUIEditor.window[1]) --4 GUIEditor.button[5] = guiCreateButton(361, 270, 201, 47, "سحب المركبة", false, GUIEditor.window[1]) GUIEditor.button[6] = guiCreateButton(362, 325, 200, 20, "X", false, GUIEditor.window[1]) GUIEditor.label[2] = guiCreateLabel(729, 208, 199, 15, "~~~~~~~~", false, GUIEditor.window[1]) guiSetFont(GUIEditor.label[2], "sa-header") GUIEditor.label[3] = guiCreateLabel(356, 356, 408, 84, "~~~~~~~~~~~~", false, GUIEditor.window[1]) guiSetFont(GUIEditor.label[3], "sa-gothic") guiLabelSetColor(GUIEditor.label[3], 183, 167, 0) end ) function Show_Hide() if guiGetVisible(GUIEditor.window[1]) == false then guiSetVisible(GUIEditor.window[1], true) showCursor(true) else guiSetVisible(GUIEditor.window[1], false) showCursor(false) end end bindKey(key,"down",Show_Hide) Cars = { {"Infernus",411} } function() for Key, Value in ipairs(Cars) do local Row = guiGridListAddRow(GUIEditor.gridlist[1]) guiGridListSetItemText(GUIEditor.gridlist[1], Row, 1, Value[1], false, false) guiGridListSetItemText(GUIEditor.gridlist[1], Row, 2, Value[2], false, false) end end addEventHandler ('onClientGUIClick',GUIEditor.button[1],function () if ( guiGridListGetSelectedItem (GUIEditor.gridlist[1]) ~= -1 ) then local id = guiGridListGetItemText (GUIEditor.gridlist[1],guiGridListGetSelectedItem (gridlist),2) triggerServerEvent('spawn',localPlayer,id) end end,false) addEventHandler ('onClientGUIClick',GUIEditor.button[2],function () if ( guiGridListGetSelectedItem (GUIEditor.gridlist[1]) ~= -1 ) then local id = guiGridListGetItemText (GUIEditor.gridlist[1],guiGridListGetSelectedItem (GUIEditor.gridlist[1]),2) triggerServerEvent('Destroy',localPlayer,id) end end,false) addEventHandler ("onClientGUIClick",root, function () if source == GUIEditor.button[3] then triggerServerEvent("fix",localPlayer) end end) addEventHandler ("onClientGUIClick",root, function () if source == GUIEditor.button[4] then triggerServerEvent("WarpToVehicle",localPlayer) end end) addEventHandler ("onClientGUIClick",root, function () if source == GUIEditor.button[5] then triggerServerEvent("warpVehicle",localPlayer) end end)
  4. addEventHander('onClientGUIClick',root, function() if source == ButtonName then local sound = playSound("Music.mp3") setSoundVolume(sound, 0.5) guiSetEnabled(ButtonName,true) setTimer(function() guiSetEnabled(ButtonName,false) end,10000,1) end end)
  5. اطرح اكواد لوحتك !
  6. addEventHander('onClientGUIClick',root, function() if source == ButtonName then local sound = playSound("Music.mp3") setSoundVolume(sound, 0.5) end end)
  7. العفو حياك الله
  8. اطرح كود فتح اللوحة خاص وبحل لك مشكلتك
  9. العفو حياك الله
  10. + ^ addEventHandler --'onClientRender'
  11. اطرح كود الفتح حقك
  12. مو لاززم حفلة علي الرجال اتلغبط فقط ! سوكينج الفنكشن Server Side Only
  13. كيف تبي يشتغل وانت مسوي كلنت وسيرفر بملف واحد triggerClientEvent ("lolmodOpenInfoWindow",source,"Nametag color succesfully bought!") هذا وش يسوي ؟ بالكلنت
  14. Private Sub button1_Click(ByVal Sender As Object) Dim u_name As String Dim U_B_D As Date Dim U_Gender As Boolean Dim U_C_F As Ingeger u_name = TextBox1.Text U_B_D = TextBox2.Text If RadioButton1.Checked == True Then U_Gender = True End If Else U_Gender = False End Sub اقصد هيك يا تنطيل
  15. addEventHandler("onPlayerChat",root, function chatbox( text, type) if isObjectInACLGroup("user." .. getAccountName(getPlayerAccount(source)), aclGetGroup("Console")) then cancelEvent() local r, g, b = getPlayerNametagColor(source) outputChatBox("#a5a5a5*[Owner]#33ff00".. getPlayerName ( source ) .. "#FFFF00:".. text.., getRootElement(), r, g, b, true ) elseif isObjectInACLGroup("user." .. getAccountName(getPlayerAccount(source)), aclGetGroup("مراقب")) then cancelEvent() local r, g, b = getPlayerNametagColor(source) outputChatBox("#a5a5a5*[Moderator]#33ff00".. getPlayerName ( source ) .. "#Ffffff:".. text, getRootElement(), r, g, b, true ) elseif isObjectInACLGroup("user." .. getAccountName(getPlayerAccount(source)), aclGetGroup("سوبر مراقب")) then cancelEvent() local r, g, b = getPlayerNametagColor(source) outputChatBox("#a5a5a5*[super-M]: #ffff00".. getPlayerName ( source ) .."#FFFFff:".. text, getRootElement(), r, g, b, true ) elseif isObjectInACLGroup("user." .. getAccountName(getPlayerAccount(source)), aclGetGroup("ادمن")) then cancelEvent() local r, g, b = getPlayerNametagColor(source) outputChatBox("#a5a5a5*[Admin]#33ff00".. getPlayerName ( source ) .. "#FFFFff:".. text, getRootElement(), r, g, b, true ) elseif isObjectInACLGroup("user." .. getAccountName(getPlayerAccount(source)), aclGetGroup("مساعد")) then cancelEvent() local r, g, b = getPlayerNametagColor(source) outputChatBox("#a5a5a5* [H-Owner]#33ff00".. getPlayerName ( source ) .. "#FFFFff:".. text, getRootElement(), r, g, b, true ) elseif isObjectInACLGroup("user." .. getAccountName(getPlayerAccount(source)), aclGetGroup("Everyone")) then cancelEvent() local r, g, b = getPlayerNametagColor(source) outputChatBox("*".. getPlayerName ( source ) .. "#FFFFff:".. text, getRootElement(), r, g, b, true ) end end) جرب شغله واتكلم بالشات
  16. لا تكثر من مودات TXD DFF يجيبون لاق وتشتري من خادم حلو وسريع مثل تابليتو هوست
  17. انت تبي الماركر داخل انترور ؟
  18. سؤال ي تنطيل مو المفروض نسوي ال End If بعد التحقق ؟
×
×
  • Create New...