-
Posts
1,439 -
Joined
-
Last visited
-
Days Won
5
Everything posted by #Soking
-
قبل اسوي المود ماكنت شفت الموضوع حقك و في كثيررررر مسوين نفس الفكره فقل خير او سد حلقك
-
ملحوظه غير متاكد ان المود بيكون تمام 100%100 لو في شي غلط ياريت تتواصل معي
-
السسسلآمم عليكمم ورحمةة اللهه وبركاتهه http://up.top4top.net/downloadf-149om4j1-zip.html مب مشفر بس ممكن لا تشيلو الحقوق ض1 ؟ OpenC و اكتب فيها حجم المركر واضغط على نوع المركر من الجريد ليست + اكتب كم مبلغ الفوز بعد كذا بيصير مركر في مكانك + علامة علمم بس السوا المسابقه مايقدر يلمس المركر يلمسه بس ماراح يفوز , اي بقات خبروووووووووووووني ض1 الاهداء Table = { DABL ( Wind ) x1AhMeD,-09 iMr.WiFi..! Mr.CoR Ahmed Ly 'iMr.SFA7 Ashkrk واليحط تعليق نايس مثله }
-
Door3 = createObject(980,2447,-1658.9000244141,15.10000038147,0,0,90) markerDoor3 = createMarker(2447.3000488281,-1659,12.300000190735,'cylinder',7,0,0,0,0) setElementData(Door3,'TheObject','True') YourGroup = { "GroupName", "GroupName", "GroupName", "GroupName", } function Check( hPlayer ) for _,Kay in ipairs ( YourGroup ) do if ( isObjectInACLGroup ("user."..getAccountName(getPlayerAccount(hPlayer)),aclGetGroup( tostring( Kay ) ) ) ) then return true end end return false end function FunctionAnti( hPlayer ) if ( isElementWithinMarker (hPlayer,markerDoor3) ) then local x ,y ,z = getElementPosition (Door3) if ( Check( hPlayer ) ) then if ( getElementData(Door3,'TheObject') == 'True' ) then moveObject(Door3,1000,x ,y ,z-5) setElementData(Door3,'TheObject', 'False' ) else moveObject (Door3,1000,2447,-1658.9000244141,15.10000038147) setElementData(Door3,'TheObject', 'True' ) end else outputChatBox("Access denied",hPlayer,255,0,0) end end end function Bind() if eventName == "onResourceStart" then for _,Valc in ipairs (getElementsByType("player")) do bindKey (Valc,"tab","down",FunctionAnti) end else bindKey (source,"tab","down",FunctionAnti) end end addEventHandler ("onResourceStart",resourceRoot,Bind) addEventHandler ("onPlayerJoin",getRootElement(),Bind) الكود حق DTC عدلت لك عليه وزبطه وجربته ضضض1
-
بصراحه انا مخي تدههور والغلط من صاحب الموضوع مب حاط الاكواد كامله انا بقول يشباب فكونا من الموضوع دا
-
triggerServerEvent("support",localPlayer,guiGetText(GUIEditor.edit[1])) اشوفه سيرفر ههههههههههههههههههههه triggerServerEvent
-
guiGetText guiGridListAddRow guiGridListSetItemText guiGridListSetItemColor guiCheckBoxGetSelected الفنكشات دي كلينت وش جابهم بجانب السيرفر هههههههههههههههههه
-
function Adham() if guiGetText(GUIEditor.edit[1]) ~= '' and guiGetText(GUIEditor.edit[1]) ~= ' ' then guiSetText (GUIEditor.edit[1], '' ) guiSetEnabled(GUIEditor.button[1], false) setTimer(guiSetEnabled, 3000, 1, GUIEditor.button[1], true) triggerServerEvent("support",localPlayer,guiGetText(GUIEditor.edit[1])) end end addEventHandler( 'onClientGUIClick',GUIEditor.button[1],Adham,false) addEventHandler( 'onClientGUIAccepted',GUIEditor.edit[1],Adham,false) addEvent("sendmessage2",true) addEventHandler("sendmessage2", root, function(Name,Text) local hour = getRealTime().hour local minute = getRealTime().minute local second = getRealTime().second+1 local gg = guiGridListAddRow(GUIEditor.gridlist[1]) guiGridListSetItemText(GUIEditor.gridlist[1],gg, 1, "["..tostring(hour)..":"..tostring(minute)..":" ..tostring(second).."]x "..Name:gsub("#%x%x%x%x%x%x", "") ..": " .. Text , false, false) guiGridListSetItemColor(GUIEditor.gridlist[1],gg, 1, 0, 255, 0, 255) if ( guiCheckBoxGetSelected( GUIEditor.checkbox[2] ) == true ) then outputChatBox("[support-System] #FF0000"..Name.."#FFFFFF : "..guiGetText(GUIEditor.edit[1]).." ",255,255,0,true) end end) دا كودك يا سفاح بدي اسالك سؤال triggerServerEvent("support",localPlayer,guiGetText(GUIEditor.edit[1])) function(Name,Text) outputChatBox("[support-System] #FF0000"..Name.."#FFFFFF : "..guiGetText(GUIEditor.edit[1]).." ",255,255,0,true) guiGridListSetItemText(GUIEditor.gridlist[1],gg, 1, "["..tostring(hour)..":"..tostring(minute)..":" ..tostring(second).."]x "..Name:gsub("#%x%x%x%x%x%x", "") ..": " .. Text , false, false) اظن ان الغلط من كود صاحب الموضوع مسوي خرابيط
-
الكود يتحقق ان مايكون الاديت فاضي و يتحقق لو فيه مسافه ماشوف غلط في التحقق ممكن تقولي ليه or
-
السسلآم عليكم ورحمة الله وبركاتهه , اليوم قررت اسوي كود بسيط للحفظ عبر استخدام SQLite الكود يحفظ لك الاحدثيات + الشخصيه + الففلوس يقدر يساعد اصحاب سيرفرات الزومبي + الهجوله + الحياه الواقعيه وغيره Server Side executeSQLQuery( ' CREATE TABLE IF NOT EXISTS `TablSave` (Serial, Money,Skin,Rotaion, xPos, yPos, zPos) ' ) function onSave( ) local checkData = executeSQLQuery( ' SELECT * FROM `TablSave` WHERE Serial = ? ', getPlayerSerial(source) ) local Money, Skin, Rotaion, xPos ,yPos , zPos = getPlayerMoney(source), getElementModel(source), getPedRotation(source), getElementPosition(source) if ( type ( checkData ) == 'table' and #checkData == 0 or not checkData ) then executeSQLQuery( ' INSERT INTO `TablSave` (Serial, Money, Skin, Rotaion, xPos ,yPos , zPos) VALUES(?, ?, ?, ?, ?, ?, ?) ', getPlayerSerial(source), Money ,Skin ,Rotaion ,xPos ,yPos , zPos) else local Money, Skin, Rotaion, xPos ,yPos , zPos = getPlayerMoney(source), getElementModel(source), getPedRotation(source), getElementPosition(source) executeSQLQuery( ' UPDATE`TablSave` SET Serial = ?, Money = ?, Skin = ?, Rotaion = ?, xPos = ?, yPos = ?, zPos = ? ', getPlayerSerial(source), Money ,Skin ,Rotaion ,xPos ,yPos , zPos) end end addEventHandler('onPlayerQuit',getRootElement(),onSave) addEventHandler('onPlayerLogout',getRootElement(),onSave) addEventHandler( 'onPlayerLogin', root, function( ) local Save = executeSQLQuery( ' SELECT * FROM `TablSave` WHERE Serial = ? ', getPlayerSerial(source) ) if ( type ( Save ) == 'table' and #Save == 0 or not Save ) then return end local Money, Skin, Rotaion, xPos ,yPos ,zPos = Save[1]['Money'],Save[1]['Skin'],Save[1]['Rotaion'],Save[1]['xPos'],Save[1]['yPos'],Save[1]['zPos'] setElementPosition(source,xPos, yPos, zPos) givePlayerMoney( source , Money ) outputChatBox ( 'Welcome',source,255,255,255,true ) setElementModel(source,Skin) setPedRotation( source , Rotaion) removePedFromVehicle(source) end )
-
سبيكة مين ابو كلب انت كل موضوع تدخل تتفلسف
-
يا نوب اطرح الاكواد مشان اجربه عليها و لو في اخطاء اعدلها وخلاص
-
function Adham( ) local Text = guiGetText(GUIEditor.edit[1]) if ( Text ~= "") and ( Text ~= " ") then triggerServerEvent("support",localPlayer,Text) guiSetText (GUIEditor.edit[1], "" ) else guiSetEnabled(GUIEditor.button[1], false) setTimer(guiSetEnabled, 3000, 1, GUIEditor.button[1], true) end end, false ) addEvent("sendmessage2",true) addEventHandler("sendmessage2",root, function(Name,Text) local Text, hour , minute , second = ( guiGetText(GUIEditor.edit[1]) ,( getRealTime().hour ) , ( getRealTime().minute ) , ( getRealTime().second+1 ) local Grid = guiGridListAddRow(GUIEditor.gridlist[1]) guiGridListSetItemText(GUIEditor.gridlist[1],Grid, 1, "["..tostring(hour)..":"..tostring(minute)..":" ..tostring(second).."]x "..Name:gsub("#%x%x%x%x%x%x", "") ..": " .. Text , false, false) guiGridListSetItemColor(GUIEditor.gridlist[1],Grid, 1, 0, 255, 0, 255) if ( guiCheckBoxGetSelected( GUIEditor.checkbox[2] ) == true ) then outputChatBox("[support-System] #FF0000"..Name.."#FFFFFF : "..Text.." ",255,255,0,true) end end end ) addEventHandler('onClientGUIClick',GUIEditor.button[1],Adham) addEventHandler( "onClientGUIAccepted",GUIEditor.edit[1],Adham)
-
function Adham( ) local Text = guiGetText(GUIEditor.edit[1]) if ( Text ~= "") and ( Text ~= " ") then triggerServerEvent("support",localPlayer,guiGetText(GUIEditor.edit[1])) guiSetText (GUIEditor.edit[1], "" ) else guiSetEnabled(GUIEditor.button[1], false) setTimer(guiSetEnabled, 3000, 1, GUIEditor.button[1], true) end end, false ) addEvent("sendmessage2",true) addEventHandler("sendmessage2",root, function(Name,Text) local Text, hour , minute , second = ( guiGetText(GUIEditor.edit[1]) ,( getRealTime().hour ) , ( getRealTime().minute ) , ( getRealTime().second+1 ) local Grid = guiGridListAddRow(GUIEditor.gridlist[1]) guiGridListSetItemText(GUIEditor.gridlist[1],Grid, 1, "["..tostring(hour)..":"..tostring(minute)..":" ..tostring(second).."]x "..Name:gsub("#%x%x%x%x%x%x", "") ..": " .. Text , false, false) guiGridListSetItemColor(GUIEditor.gridlist[1],Grid, 1, 0, 255, 0, 255) if ( guiCheckBoxGetSelected( GUIEditor.checkbox[2] ) == true ) then outputChatBox("[support-System] #FF0000"..Name.."#FFFFFF : "..guiGetText(GUIEditor.edit[1]).." ",255,255,0,true) end end ) addEventHandler('onClientGUIClick',GUIEditor.button[1],Adham) addEventHandler( "onClientGUIAccepted",GUIEditor.edit[1],Adham)
-
انا ناسخ كودك واسالك كم سؤال وش هو يلي مازبط
-
function ( Adham ) if guiGetText(GUIEditor.edit[1]) ~= '' then triggerServerEvent("support",localPlayer,guiGetText(GUIEditor.edit[1])) guiSetText (GUIEditor.edit[1], "" ) else guiSetEnabled(GUIEditor.button[1], false) setTimer(guiSetEnabled, 3000, 1, GUIEditor.button[1], true) end end, false) addEvent("sendmessage2",true) addEventHandler("sendmessage2",root, function(Name,Text) local hour = getRealTime().hour local minute = getRealTime().minute local second = getRealTime().second+1 local gg = guiGridListAddRow(GUIEditor.gridlist[1]) guiGridListSetItemText(GUIEditor.gridlist[1],gg, 1, "["..tostring(hour)..":"..tostring(minute)..":" ..tostring(second).."]x "..Name:gsub("#%x%x%x%x%x%x", "") ..": " .. Text , false, false) guiGridListSetItemColor(GUIEditor.gridlist[1],gg, 1, 0, 255, 0, 255) if ( guiCheckBoxGetSelected( GUIEditor.checkbox[2] ) == true ) then outputChatBox("[support-System] #FF0000"..Name.."#FFFFFF : "..guiGetText(GUIEditor.edit[1]).." ",255,255,0,true) end end) addEventHandler('onClientGUIClick',GUIEditor.button[1],Adham) addEventHandler( "onClientGUIAccepted",GUIEditor.edit[1],Adham) وين الفنكشن يلي اسمه Adham ؟ + وش سالفة دا ؟ function ( Adham )
-
الكود مب لك