Jump to content

Adham

Members
  • Posts

    2,259
  • Joined

  • Last visited

  • Days Won

    2

Everything posted by Adham

  1. ما ظبت + بيمسح الشات نصو و مش بيكتب Clear chat
  2. سسلأم عليكم عملت كود مسح شات ما ظبت ابيكم تعدلولي عليه الكود 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]
  3. Adham

    سوال

    ذا الكود جاهز
  4. Adham

    سوال

    فيه خطا طيب هنا. 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
  5. سلام عليكم انا عاوز كود لما فيه كلام بالقريد لست يضعط علي ويضعط علي button ويروح للوحة تاني ولو ضعط علي الbutotn لوحدو تختفي الbutton وترجع تاني
  6. Adham

    help

    سلام عليكم اليوم انا سويت مود لما يكبت في ف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
  7. Adham

    تعديل

    انا الكواد صح كلها بس ابي اعمل الفلوس تتوزع لكل مب لاعب انا
  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)
  9. Adham

    طلب

    ممكن تعملي دي تفتح بحرف خ بدل ف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 )
  10. Adham

    طلب

    سلام عليكم اانا اليوم عامل للوحةة عاوز اللوحة متفتحش لاي حد عاوز اللوحة تفتح للكاتب سريالو بس انا معيش الكود مثلن عاوز كود اكتب سريال الفتحلو اللوحة الما كاتب سريالو ما تفتح له لوجة
  11. addEventHandler ( "onClientGUIClick", resourceRoot, function () if ( source == GUIEditor.button[2] ) then guiGridListGetItemText ( grid, guiGridListGetSelectedItem ( grid ), 1 ) if isPedInVehicle ( localPlayer ) then destroyElement ( getPedOccupiedVehicle(localPlayer) ) end end) فيه مشكله؟
  12. انا عمل مود عامل ريد لست وضايف عربيات عاو ز اليحدد عربية بالقريد لست ويضعط علي ال button تتسحب السيارة لو مش محدد شي ما تتسحب شي
  13. بسس ابيه لازم يكون محدد شي بالقريد لست لو مش محدد ما يتسحب شي
  14. سلام عليكم انا مسوي قريد لست وفيها العربيات ابي لما يحدد علي عربيه ويضعط button اسمه Destroy تتسحب السياره الهوا ركبها ولازم يكون داخل السياره ولو محددش شي وضعط علي ال button لوحدو ما تتسحب شي
  15. طيب لما مش بكتب شي بالايديت وبضعط start بيكتب في الشات فاضي
  16. طيب ظبتت بس في مشكله عاوز لما مكتبش حاجه في الايديت واضعط علي 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 )
  17. ماشي نصور مش عاوز اسم للاعب عاوز الرساله فقط
  18. لما بضعط علي البيتون مب بيعمل في الشات الكتبتو
  19. ما طلع في الشات كلنت 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 )
  20. طيب انا عاوز كل الناس الفي سرفر تشوفه
  21. طيب معلش ممكن طلب؟ عاوز لما يكتب شي بالايديت وضعط علي الزر يتمسح الكتوب بالايديت
×
×
  • Create New...