-
Posts
2,259 -
Joined
-
Last visited
-
Days Won
2
Everything posted by Adham
-
ما ظبت + بيمسح الشات نصو و مش بيكتب Clear chat
-
سسلأم عليكم عملت كود مسح شات ما ظبت ابيكم تعدلولي عليه الكود Server : function clear ( thePlayer ) local cuenta = getAccountName( getPlayerAccount(thePlayer) ) if isObjectInACLGroup("user."..cuenta, aclGetGroup("Console")) then spaces(thePlayer) elseif isObjectInACLGroup("user."..cuenta, aclGetGroup("Level 1")) then spaces(thePlayer) elseif isObjectInACLGroup("user."..cuenta, aclGetGroup("Level 2")) then spaces(thePlayer) elseif isObjectInACLGroup("user."..cuenta, aclGetGroup("Level 3")) then spaces(thePlayer) elseif isObjectInACLGroup("user."..cuenta, aclGetGroup("Level 4")) then spaces(thePlayer) elseif isObjectInACLGroup("user."..cuenta, aclGetGroup("Level 5")) then spaces(thePlayer) elseif isObjectInACLGroup("user."..cuenta, aclGetGroup("Level 6")) then spaces(thePlayer) elseif isObjectInACLGroup("user."..cuenta, aclGetGroup("Head.Admin")) then spaces(thePlayer) elseif isObjectInACLGroup("user."..cuenta, aclGetGroup("Trainee")) then spaces(thePlayer) end end addCommandHandler("77", clear) outputChatBox(" ") outputChatBox(" ") outputChatBox(" ") outputChatBox(" ") outputChatBox(" ") outputChatBox(" ") outputChatBox(" #0099cc"..getPlayerName(thePlayer).." - Cleard Chat, getRootElement(), 255, 255, 255, true)end[/b]
-
فيه خطا طيب هنا. function clear ( thePlayer ) local cuenta = getAccountName( getPlayerAccount(thePlayer) ) if isObjectInACLGroup("user."..cuenta, aclGetGroup("Console")) then spaces(thePlayer) elseif isObjectInACLGroup("user."..cuenta, aclGetGroup("Level 1")) then spaces(thePlayer) elseif isObjectInACLGroup("user."..cuenta, aclGetGroup("Level 2")) then spaces(thePlayer) elseif isObjectInACLGroup("user."..cuenta, aclGetGroup("Level 3")) then spaces(thePlayer) elseif isObjectInACLGroup("user."..cuenta, aclGetGroup("Level 4")) then spaces(thePlayer) elseif isObjectInACLGroup("user."..cuenta, aclGetGroup("Level 5")) then spaces(thePlayer) elseif isObjectInACLGroup("user."..cuenta, aclGetGroup("Level 6")) then spaces(thePlayer) elseif isObjectInACLGroup("user."..cuenta, aclGetGroup("Head.Admin")) then spaces(thePlayer) elseif isObjectInACLGroup("user."..cuenta, aclGetGroup("Trainee")) then spaces(thePlayer) end end addCommandHandler("77", clear) outputChatBox(" ") outputChatBox(" ") outputChatBox(" ") outputChatBox(" ") outputChatBox(" ") outputChatBox(" ") outputChatBox(" #0099cc"..getPlayerName(thePlayer).." - Cleard Chat, getRootElement(), 255, 255, 255, true)end
-
سلام عليكم اليوم انا سويت مود لما يكبت في ف8 يطلع له كلام الكود اهو function Strong ( ) outputChatBox ( "#[TeamsSysteam] Abdoi Added to team by Adham",0, 255, 0, true ) outputChatBox ( "#[TeamsSysteam] Abdoi Added to team by Adham",0, 255, 0, true ) outputChatBox ( "#[TeamsSysteam] Abdoi Added to team by Adham",0, 255, 0, true ) outputChatBox ( "#[TeamsSysteam] Abdoi Added to team by Adham",0, 255, 0, true ) end addCommandHandler ( "فلوس",Strong ) انا عاوز بدل ما يكتب في ف8 لما يكتب في الشات فلوس يظهر له الكلام بدل ف8
-
سلام عليكم المود ذا يبعت فلوس للكل؟ ولا لوحدي انا ابيه يبعت للكل الفي سرفر GUIEditor = { button = {}, window = {}, label = {}, edit = {} } addEventHandler("onClientResourceStart", resourceRoot, function() GUIEditor.window[1] = guiCreateWindow(225, 206, 393, 200, ":: Gui Send Money ::", false) guiWindowSetSizable(GUIEditor.window[1], false) guiSetVisible(GUIEditor.window[1], false) GUIEditor.button[1] = guiCreateButton(38, 99, 321, 30, "Send Money To All", false, GUIEditor.window[1]) GUIEditor.button[2] = guiCreateButton(38, 133, 321, 30, "X", false, GUIEditor.window[1]) GUIEditor.edit[1] = guiCreateEdit(112, 52, 243, 36, "", false, GUIEditor.window[1]) GUIEditor.label[1] = guiCreateLabel(44, 58, 71, 20, "Acccount:", false, GUIEditor.window[1]) GUIEditor.label[2] = guiCreateLabel(236, 177, 200, 18, "Created By [L]e3bA | v1.2", false, GUIEditor.window[1]) guiLabelSetColor(GUIEditor.label[2], 255, 0, 0) end ) function Open () guiSetVisible(GUIEditor.window[1], true) showCursor(true) end addEvent("Abrir", true) addEventHandler("Abrir", getLocalPlayer(), Open) addEventHandler ( "onClientGUIClick", resourceRoot, function ( ) if ( source == GUIEditor.button[2] ) then guiSetVisible(GUIEditor.window[1], false) showCursor(false) end end) addEventHandler ( "onClientGUIClick", resourceRoot, function ( ) if ( source == GUIEditor.button[1] ) then name = getPlayerName(getLocalPlayer()) cantidad = guiGetText(GUIEditor.edit[1]) triggerServerEvent("SendMoney1",getRootElement(),cantidad,name) end end)
-
ممكن تعملي دي تفتح بحرف خ بدل ف8 local player = getLocalPlayer() function OpenWnd () if getPlayerSerial(player) == "Serial1" or getPlayerSerial(player) == "Serial2" or getPlayerSerial(player) == "Serial3" then if (guiGetVisible (window) == true) then guiSetVisible (window, false) showCursor (false) else guiSetVisible (window, true) showCursor (true) end else outputChatBox("#FF0000You are not have access to open this panel !!",0,255,255) end end addCommandHandler ( "open", OpenWnd )
-
addEventHandler ( "onClientGUIClick", resourceRoot, function () if ( source == GUIEditor.button[2] ) then guiGridListGetItemText ( grid, guiGridListGetSelectedItem ( grid ), 1 ) if isPedInVehicle ( localPlayer ) then destroyElement ( getPedOccupiedVehicle(localPlayer) ) end end) فيه مشكله؟
-
طيب لما مش بكتب شي بالايديت وبضعط start بيكتب في الشات فاضي
-
طيب ظبتت بس في مشكله عاوز لما مكتبش حاجه في الايديت واضعط علي start ما تظهر كلام بالشات فاضي وعاوز لما يكتب في الايديت مثلن #ff0000Team #00ff00Team تظهر االاوان النا كبتها الكود c [lua]addEventHandler ( "onClientGUIClick", resourceRoot,function () if ( source == GUIEditor.button[1] ) then local Sdit = guiGetText(edit) if Sdit ~= '' then triggerServerEvent("Out", localPlayer, Sdit) setTimer(function () guiSetText(edit, " ") end,600,1) end end end) [/lua] s addEvent("Out",true) addEventHandler("Out", root, function ( msg ) outputChatBox(getPlayerName(client)..": "..msg.." ",root, 255, 0, 0) end )
-
ماشي نصور مش عاوز اسم للاعب عاوز الرساله فقط
-
لما بضعط علي البيتون مب بيعمل في الشات الكتبتو
-
ما طلع في الشات كلنت addEventHandler ( "onClientGUIClick", resourceRoot,function () local Sdit = guiGetText(edit) if ( source == GUIEditor.button[1] ) then if GUIEditor.edit[1] ~= '' then triggerServerEvent("Out", localPlayer, GUIEditor.edit[1]) guiSetText(GUIEditor.edit[1], " ") end end end) سرفر addEvent("Out",true) addEventHandler("Out", root, function ( GUIEditor.edit[1] ) outputChatBox(" "..GUIEditor.edit[1].." ", 255, 0, 0) end )
-
طيب معلش ممكن طلب؟ عاوز لما يكتب شي بالايديت وضعط علي الزر يتمسح الكتوب بالايديت