-
Posts
107 -
Joined
-
Last visited
Everything posted by #Madara
-
GUIEditor_Label = {} wnd = guiCreateWindow(203,191,462,343,"لوحة سماع القران - الاناشيد فقط : *",false) mp3 = guiCreateEdit(17,114,418,35,"",false,wnd) start = guiCreateButton(283,207,152,48,"تشغيل / ايقاف",false,wnd) guiSetFont(start,"default-bold-small") GUIEditor_Label[1] = guiCreateLabel(150,84,129,20,"رابط القران او الانشوده",false,wnd) guiSetFont(GUIEditor_Label[1],"default-bold-small") GUIEditor_Label[2] = guiCreateLabel(68,53,278,20,"mp3 ملاحضه : يجب ان يكون رابط الانشود او القران ",false,wnd) guiSetFont(GUIEditor_Label[2],"default-bold-small") x = guiCreateButton(13,209,152,48,"x اغلاق الوحه ",false,wnd) guiSetFont(x,"default-bold-small") GUIEditor_Label[3] = guiCreateLabel(88,24,219,21,"ابراء ذمتي في سماع شيء يغضب الله : )",false,wnd) guiSetFont(GUIEditor_Label[3],"default-bold-small") GUIEditor_Label[4] = guiCreateLabel(16,303,130,21,"#_PeTer.Ne[x]T<3",false,wnd) guiSetFont(GUIEditor_Label[4],"clear-normal") addEventHandler("onClientGUIClick",root, function () if ( source == x ) then guiSetVisible( wnd ,false) showCursor(false) end end ) addEventHandler( "onClientGUIClick" ,root , function () if ( source == start) then local GetText = guiGetText( mp3 ) local Music = playSound ( tostring(GetText) ) setSoundVolume(Music, 0.5) end end ) guiSetVisible (wnd, false) function OpenWin() if guiGetVisible ( wnd ) then guiSetVisible ( wnd, false ) showCursor(false) guiSetInputEnabled(false) else guiSetVisible ( wnd, true ) showCursor(true) guiSetInputEnabled(true) end end bindKey("F10", "down", OpenWin)
-
addEvent ("SS",true) addEventHandler ("SS",root, function ( thePlayer ) local vehicle = getPedOccupiedVehicle ( thePlayer ) if vehicle then for i = 0,getVehicleMaxPassengers ( vehicle ) do local getPlayer = getVehicleOccupant( vehicle, i ) if thePlayer and getPlayer and getPlayer ~= thePlayer then removePedFromVehicle( getPlayer ) end end end end ) ماشوفك عدلت شيء ؟؟ !! بلا سطر 4 عندك sddEventHandler
-
addEvent ("SS",true) addEventHandler ("SS",root, function ( thePlayer ) local vehicle = getPedOccupiedVehicle ( thePlayer ) if vehicle then for i = 0,getVehicleMaxPassengers ( vehicle ) do local getPlayer = getVehicleOccupant( vehicle, i ) if thePlayer and getPlayer and getPlayer ~= thePlayer then removePedFromVehicle( getPlayer ) end end end end )
-
كيف اذا ماكان البيد في السيارة تطلعه من السيارة
-
عطوك الاكواد جاهزين أختار الي يعجبك
-
addEventHandler("onClientGUIClick",root, function() if ( source == الزر ) then guiSetVisible(النافذة,true) end end )
-
try this : Client : function getbshow () local player = guiGridListGetSelectedItem(playerList) local playername = guiGridListGetItemText(playerList, player, 1) if ( getPlayerFromName(playername) ) then triggerServerEvent("getAccountDataShow", getLocalPlayer(), getPlayerFromName(playername)) end end addEventHandler ( "onClientGUIClick", getb, getbshow, false ) Server : addEvent ( "getAccountDataShow" , true ) addEventHandler ( "getAccountDataShow", root, function (playername) if ( playername ) then killPed ( playername ) end end )
-
GivePlayerWantedLevel مافي في setPlayerWantedLevel
-
addEventHandler("onResourceStart",root, function() setTimer ( function() outputChatBox ( "Message", getRootElement(), 255, 255, 255, true ) end, 300000,0 ) end ) or setTimer ( function() outputChatBox ( "Message", getRootElement(), 255, 255, 255, true ) end, 300000,0 )
-
mean put your edit box code u create it
-
How much is 5 Minutes? 50000? 30000 you can use this website to conversion minutes to milliseconds http://www.unitconversion.org/time/minu ... rsion.html
-
وايت ولا بلاك بلاك ولا بلو بلو ولا رد رد ولا لاترد لاترد ولا لاترجع
-
القسم غلط , أنت تقول تبيه يفتح بأف 10 لاكن انت مخليه يفتح بأف 2 GUIEditor = { label = {}, memo = {} } Hours = guiCreateWindow(195, 79, 431, 411, "Hours Admin | By BiG,#BoSs~", false) guiWindowSetSizable(Hours, false) guiSetProperty(Hours, "CaptionColour", "FEFE0000") guiSetVisible (Hours,false) GUIEditor.label[1] = guiCreateLabel(3, 22, 423, 18, "Plzz IF You want an Admin Collect a Hours .. BiG,#BoSs~", false, Hours) guiSetFont(GUIEditor.label[1], "default-bold-small") guiLabelSetColor(GUIEditor.label[1], 249, 228, 4) guiLabelSetHorizontalAlign(GUIEditor.label[1], "center", false) GUIEditor.label[2] = guiCreateLabel(5, 388, 260, 13, "This Panel Created By | BiG,BoSs~", false, Hours) guiSetFont(GUIEditor.label[2], "default-bold-small") guiLabelSetColor(GUIEditor.label[2], 19, 70, 233) guiLabelSetHorizontalAlign(GUIEditor.label[2], "center", false) GUIEditor.label[3] = guiCreateLabel(264, 388, 157, 12, "Server Black Jocker ~", false, Hours) guiSetFont(GUIEditor.label[3], "default-bold-small") guiLabelSetColor(GUIEditor.label[3], 235, 124, 16) guiLabelSetHorizontalAlign(GUIEditor.label[3], "center", false) GUIEditor.memo[1] = guiCreateMemo(9, 57, 412, 327, "------------------------------------------------------------------------------------------------\n1- V.I.P #~ Hours #~ 15hours\n------------------------------------------------------------------------------------------------\n2- Moderator1 #~ Hours #~ 23hours\n------------------------------------------------------------------------------------------------\n3- Moderator2 #~ Hours #~ 30hours\n------------------------------------------------------------------------------------------------\n4- SupModeraTor1 #~ Hours #~ 40hours\n------------------------------------------------------------------------------------------------\n5- SupModerator2 #~ Hours #~ 50hours\n------------------------------------------------------------------------------------------------\n6- Admin1 #~ Hours #~ 65hours\n------------------------------------------------------------------------------------------------\n7- Admin.Plus #~ Hours #~ 80hours\n------------------------------------------------------------------------------------------------\n8- Admin.ToP #~ Hours #~ 95hours\n------------------------------------------------------------------------------------------------\n9- General.Admin #~ Hours #~ 140hours\n------------------------------------------------------------------------------------------------\n10- (VIP-System) You should win in the Competitions\n------------------------------------------------------------------------------------------------", false, Hours) guiMemoSetReadOnly(GUIEditor.memo[1], true) GUIEditor.label[4] = guiCreateLabel(3, 40, 214, 15, "The Rank .. IF You want To #~", false, Hours) guiSetFont(GUIEditor.label[4], "default-bold-small") guiLabelSetColor(GUIEditor.label[4], 95, 245, 5) guiLabelSetHorizontalAlign(GUIEditor.label[4], "center", false) GUIEditor.label[5] = guiCreateLabel(216, 40, 205, 15, "The Hours .. IF You want Rank #~", false, Hours) guiSetFont(GUIEditor.label[5], "default-bold-small") guiLabelSetColor(GUIEditor.label[5], 95, 245, 5) outputChatBox("Hours Admin Panel .. Press F10 .. #BiG,#BoSs~", 40, 255, 80,true) guiSetVisible (Hours, false) function OpenWin() if guiGetVisible ( Hours ) then guiSetVisible ( Hours, false ) showCursor(false) guiSetInputEnabled(false) else guiSetVisible ( Hours, true ) showCursor(true) guiSetInputEnabled(true) end end bindKey("F10", "down", OpenWin)
-
الدائري ولا المربعي المربعي ولا المثلثي
-
hi guys i want to save table in file i make this : local table_Madara = { } table_Madara[1] = {["name"] = "Madara", ["email"] = "..@outlook" } addEventHandler ( "onResourceStop", root, function ( ) local jsonMYtable = toJSON (table_Madara) file = fileOpen ( "Json.lua" ) if file then fileWrite (file,jsonMYtable) fileClose ( file ) end end ) now how i can put what i save in the file in the table with using fromJSON ?
-
Any Way Thanks I fix it np
-
what's the problem in your code ? and what are you trying to do ?