Jump to content

z24d

Members
  • Posts

    570
  • Joined

  • Last visited

Everything posted by z24d

  1. ماركبت مود تاج انا
  2. الرسالة تتكرر حتى بدون الفري روم
  3. ERROR: chat-disable\chat-disable.lua:9: attempt to concatenate a boolean value
  4. [17:53:25] SCRIPT ERROR: chat-disable\chat-disable.lua:23: 'end' expected (to close 'function' at line 15) near '' [17:53:25] ERROR: Loading script failed: chat-disable\chat-disable.lua:23: 'end' expected (to close 'function' at line 15) near ''
  5. معقولة ولا كود شغال والديبوق في حالت صمت ؟
  6. ماضبط + الديبوق مايطلع شيء
  7. لا function chatDis(thePlayer) local accName = getAccountName ( getPlayerAccount ( thePlayer ) ) if not isObjectInACLGroup ("user."..accName, aclGetGroup ( "Console" ) ) then cancelEvent() outputChatBox("*** THE CHAT IS DISABLED ***",source,255,0,0) end end addEventHandler("onPlayerChat",root,chatDis) -- *** Disabling Code | End *** -- *** Enabling Code | Start *** function chatEN(thePlayer,command) local accName = getAccountName ( getPlayerAccount ( thePlayer ) ) if not isObjectInACLGroup ("user."..accName, aclGetGroup ( "Console" ) ) then outputChatBox("*** THE CHAT IS NOW ENABLED ***",getRootElement(),255,0,0) removeEventHandler("onPlayerChat",getRootElement(),chatDis) end end -- *** Enabling Code | End *** -- *** Adding Commands | Start *** addCommandHandler("cd",chatDis) addCommandHandler("ce",chatEN) -- *** Adding Commands | End ***
  8. مره ثانية WARNING: chat-disable/chat-disable:21: Bad usage @ 'addEventHandler' ['onPlayerChat' with this function is already handled
  9. WARNING: chat-disable/chatdisable.lua:21 Bad usage @'addEventHandler'['onPlayerChat' with this function is already handlel
  10. -- *** This Script By Al3grab 2011 *** -- *** IF You Are Editing The Script or installing it Dont Remove This Lines *** -- *** Al3grab 2011 - Chat Disable Script *** -- *** To Disable Chat Use Command : /cd *** -- *** To Enable Chat Use Command : /ce *** -- *** تم صنع المود بواسطة Al3grab 2011 *** -- *** عند تركيب المود أو تعديله الرجاء عدم إزالة هذه النصوص *** -- *** Al3grab 2011 - مود تعطيل الشات | منع اللاعبين من الكتابة في الشات *** -- *** لتعطيل الشات إكتب الأمر التالي : /cd *** -- *** لتشغيل الشات إكتب الأمر التالي : /ce *** -- --------------------------------- -- -- *** Script Code | Server-Side *** -- -- --------------------------------- -- -- *** Disabling Code | Start *** function chatDis(command) cancelEvent() outputChatBox("*** THE CHAT IS DISABLED ***",source,255,0,0) if hasObjectPermissionTo ( command, "function.banPlayer" ) then addEventHandler("onPlayerChat",getRootElement(),chatDis) end end -- *** Disabling Code | End *** -- *** Enabling Code | Start *** function chatEN(command,thePlayer) local accName = getAccountName ( getPlayerAccount ( thePlayer ) ) if isObjectInACLGroup ("user."..accName, aclGetGroup ( "Console" ) ) then return end if hasObjectPermissionTo ( command, "function.banPlayer" ) then outputChatBox("*** THE CHAT IS NOW ENABLED ***",getRootElement(),255,0,0) removeEventHandler("onPlayerChat",getRootElement(),chatDis) end end -- *** Enabling Code | End *** -- *** Adding Commands | Start *** addCommandHandler("cd",chatDis) addCommandHandler("ce",chatEN) -- *** Adding Commands | End *** مازبط
  11. السلام عليكم بغيت اعدل علا مود العقرب حق الي يطفي الشات لكن ماعرفت من وين ابدأ ومن وين انتهي ابغاكم تقولولي وش اسوي عشان اخليه اذا مثلا سوا ديسابل للشات بس الكونسل يتكلم الكود -- *** This Script By Al3grab 2011 *** -- *** IF You Are Editing The Script or installing it Dont Remove This Lines *** -- *** Al3grab 2011 - Chat Disable Script *** -- *** To Disable Chat Use Command : /cd *** -- *** To Enable Chat Use Command : /ce *** -- *** تم صنع المود بواسطة Al3grab 2011 *** -- *** عند تركيب المود أو تعديله الرجاء عدم إزالة هذه النصوص *** -- *** Al3grab 2011 - مود تعطيل الشات | منع اللاعبين من الكتابة في الشات *** -- *** لتعطيل الشات إكتب الأمر التالي : /cd *** -- *** لتشغيل الشات إكتب الأمر التالي : /ce *** -- --------------------------------- -- -- *** Script Code | Server-Side *** -- -- --------------------------------- -- -- *** Disabling Code | Start *** function chatDis(command) cancelEvent() outputChatBox("*** THE CHAT IS DISABLED ***",source,255,0,0) if hasObjectPermissionTo ( command, "function.banPlayer" ) then addEventHandler("onPlayerChat",getRootElement(),chatDis) end end -- *** Disabling Code | End *** -- *** Enabling Code | Start *** function chatEN(command) if hasObjectPermissionTo ( command, "function.banPlayer" ) then outputChatBox("*** THE CHAT IS NOW ENABLED ***",getRootElement(),255,0,0) removeEventHandler("onPlayerChat",getRootElement(),chatDis) end end -- *** Enabling Code | End *** -- *** Adding Commands | Start *** addCommandHandler("cd",chatDis) addCommandHandler("ce",chatEN) -- *** Adding Commands | End *** -- ---------------------------- -- -- *** Script Code | THE - END -- -- ---------------------------- -- -- Love : Al3grab ;p
  12. طالعلي بالديبوق ERROR: Loading script failed: Teams/server.lua:2 unexpected symbol near '
  13. السلام عليكم وش المشكلة هنا ؟ function Master () ArmyTeam = createTeam ( "Army", 162, 93, 14 ) end addEventHandler("onResourceStart", resourceRoot, Master) function Playerteam() setPlayerTeam(source, ArmyTeam) setTeamFriendlyFire ( ArmyTeam, false ) spawnPlayer (source, 213.68238830566,1857.8231201172,13.140625,0, 287, 0, 0) end addEventHandler("onPlayerLogin",getRootElement(),Playerteam) function Care() spawnPlayer (source, 213.68238830566,1857.8231201172,13.140625,0, 287, 0, 0) end addEventHandler("onPlayerWasted",getRootElement(),Care)
  14. z24d

    خشو

    طيب عزيزي فيه مود ولا شيء يخليني احدد واقيس لمقري ؟ يعني اسوي كولشب و احدد كبره وصغره
  15. z24d

    خشو

    السلام عليكم ورحمة الله وبركاتة انا معي ماب وابي امنع الزومبيز يخشونه هو مكان ارمي "Zombies"> "Zombie_spawn" friendlyname="Zombie Spawnpoint" icon="edf/zombiespawn.png"> "position" type="coord3d" default="0,0,0" /> "rotation" type="coord3d" default="0,0,0" /> "0" rotation="!rotation!"/> "1254" posZ="1" rotation="!rotation!"/>
  16. طيب اخوي ممكن تشرحلي createSWATRope
  17. السلام عليكم ورحمة الله وبركاتة ابغا فنكش الي هو يخلي السيارة تطير
  18. GUIEditor = { button = {}, window = {}, label = {} } GUIEditor.window[1] = guiCreateWindow(336, 137, 402, 480, "VIP Panel", false) guiWindowSetSizable(GUIEditor.window[1], false) GUIEditor.button[1] = guiCreateButton(22, 62, 155, 57, "Create Vehicle", false, GUIEditor.window[1]) guiSetFont(GUIEditor.button[1], "default-bold-small") guiSetProperty(GUIEditor.button[1], "NormalTextColour", "FFAAAAAA") GUIEditor.button[2] = guiCreateButton(218, 62, 155, 57, "No Veh Dmg", false, GUIEditor.window[1]) guiSetFont(GUIEditor.button[2], "default-bold-small") guiSetProperty(GUIEditor.button[2], "NormalTextColour", "FFAAAAAA") GUIEditor.button[3] = guiCreateButton(218, 167, 155, 57, "VIP Stats", false, GUIEditor.window[1]) guiSetFont(GUIEditor.button[3], "default-bold-small") guiSetProperty(GUIEditor.button[3], "NormalTextColour", "FFAAAAAA") GUIEditor.button[4] = guiCreateButton(22, 167, 155, 57, "VIP Weapons", false, GUIEditor.window[1]) guiSetFont(GUIEditor.button[4], "default-bold-small") guiSetProperty(GUIEditor.button[4], "NormalTextColour", "FFAAAAAA") GUIEditor.button[5] = guiCreateButton(22, 268, 155, 57, "VIP Skin", false, GUIEditor.window[1]) guiSetFont(GUIEditor.button[5], "default-bold-small") guiSetProperty(GUIEditor.button[5], "NormalTextColour", "FFAAAAAA") GUIEditor.button[6] = guiCreateButton(218, 268, 155, 57, "Health/Armor", false, GUIEditor.window[1]) guiSetFont(GUIEditor.button[6], "default-bold-small") guiSetProperty(GUIEditor.button[6], "NormalTextColour", "FFAAAAAA") GUIEditor.button[7] = guiCreateButton(76, 342, 233, 70, "Close VIP Panel", false, GUIEditor.window[1]) guiSetFont(GUIEditor.button[7], "default-bold-small") guiSetProperty(GUIEditor.button[7], "NormalTextColour", "FFAAAAAA") GUIEditor.label[1] = guiCreateLabel(17, 440, 150, 30, "Created By #Monster ,", false, GUIEditor.window[1]) guiSetFont(GUIEditor.label[1], "clear-normal") guiLabelSetColor(GUIEditor.label[1], 255, 0, 0) guiSetVisible(GUIEditor.window[1],false) bindKey ( "F5", "down", function ( ) triggerServerEvent("VIP",localPlayer) guiSetVisible ( GUIEditor.window[1], not guiGetVisible ( GUIEditor.window[1] ) ) showCursor ( guiGetVisible ( GUIEditor.window[1] ) ) end ) addEventHandler ( "onClientGUIClick", resourceRoot, function ( ) if ( source == GUIEditor.button[1] ) then triggerServerEvent ( "GiveCar", localPlayer ) end end ) CarDamage = true addEventHandler('onClientGUIClick',root, function ( ) if ( source == GUIEditor.button[2] ) then if ( getPedOccupiedVehicle ( localPlayer ) ) then CarDamage = not CarDamage setVehicleDamageProof(getPedOccupiedVehicle ( localPlayer ) , CarDamage ) end end end ) addEventHandler ( "onClientGUIClick", resourceRoot, function ( ) if ( source == GUIEditor.button[3] ) then triggerServerEvent ( "GiveStat", localPlayer ) end end ) addEventHandler ( "onClientGUIClick", resourceRoot, function ( ) if ( source == GUIEditor.button[5] ) then triggerServerEvent ( "GiveSkin", localPlayer ) end end ) addEventHandler ( "onClientGUIClick", resourceRoot, function ( ) if ( source == GUIEditor.button[6] ) then triggerServerEvent ( "GiveArmor", localPlayer ) end end ) addEventHandler ( "onClientGUIClick", resourceRoot, function ( ) if ( source == GUIEditor.button[7] ) then guiSetVisible(GUIEditor.window[1],false) showCursor(false) if guiGetVisible(GUIEditor.window[1]) == true then guiSetVisible(GUIEditor.window[2],false) end end end ) addEventHandler ( "onClientGUIClick", resourceRoot, function ( ) if ( source == GUIEditor.button[4] ) then guiSetVisible ( GUIEditor.window[2], not guiGetVisible ( GUIEditor.window[2] ) ) end end ) GUIEditor.window[2] = guiCreateWindow(163, 191, 170, 231, "VIP Weapons Panel", false) guiWindowSetSizable(GUIEditor.window[2], false) GUIEditor.button[17] = guiCreateButton(18, 35, 136, 45, "Minigun,400", false, GUIEditor.window[2]) guiSetFont(GUIEditor.button[17], "default-bold-small") guiSetProperty(GUIEditor.button[17], "NormalTextColour", "FFAAAAAA") GUIEditor.button[18] = guiCreateButton(18, 86, 136, 45, "Rocket Launcher,20", false, GUIEditor.window[2]) guiSetFont(GUIEditor.button[18], "default-bold-small") guiSetProperty(GUIEditor.button[18], "NormalTextColour", "FFAAAAAA") GUIEditor.button[19] = guiCreateButton(18, 141, 136, 45, "Heat-Seeking RPG,20", false, GUIEditor.window[2]) guiSetFont(GUIEditor.button[19], "default-bold-small") guiSetProperty(GUIEditor.button[19], "NormalTextColour", "FFAAAAAA") lbl = guiCreateLabel(59, 195, 65, 15, "Close Panel", false, GUIEditor.window[2]) guiSetFont(lbl, "default-bold-small") guiLabelSetColor(lbl, 0, 24, 254) guiSetVisible(GUIEditor.window[2],false) addEventHandler ( "onClientGUIClick", resourceRoot, function ( ) if ( source == lbl ) then guiSetVisible ( GUIEditor.window[2],false ) end end ) function Colo() if ( source == lbl ) then guiLabelSetColor(lbl, 255, 255, 255) end end addEventHandler( "onClientMouseEnter", getRootElement(),Colo) function Colo1() if ( source == lbl ) then guiLabelSetColor(lbl, 0, 24, 254) end end addEventHandler( "onClientMouseLeave", getRootElement(),Colo1) addEventHandler ( "onClientGUIClick", resourceRoot, function ( ) if ( source == GUIEditor.button[17] ) then triggerServerEvent ( "Mini", localPlayer ) end end ) addEventHandler ( "onClientGUIClick", resourceRoot, function ( ) if ( source == GUIEditor.button[18] ) then triggerServerEvent ( "Rocket", localPlayer ) end end ) addEventHandler ( "onClientGUIClick", resourceRoot, function ( ) if ( source == GUIEditor.button[19] ) then triggerServerEvent ( "RocketH", localPlayer ) end end ) تفضل خيو
  19. معليش تعبتك معي بس شوف وين الغلط ابي الوحة تفتح للVIP فقط الكود addEvent ( "VIP", true ) addEventHandler ( "VIP", root, function ( ) if ( getPlayerAccount ( player ) and not isGuestAccount ( getPlayerAccount ( player ) ) ) then if not ( isObjectInACLGroup ( "user."..getAccountName ( getPlayerAccount ( player ) ), aclGetGroup( "VIP" ) ) ) then return end end end)
  20. يعطيك العافية اخوي ابي اشفر كم مود شلون؟
  21. addEvent ( "Mini", true ) addEventHandler ( "Mini", root, function ( ) outputChatBox("* You have successfully Gived Minigun", source, 0, 255, 0) givePedWeapon(source, 38, 400, true) end) addEvent ( "Rocket", true ) addEventHandler ( "Rocket", root, function ( ) outputChatBox("* You have successfully Gived Rocket Launchers", source, 0, 255, 0) givePedWeapon ( source, 35 ,20, false) end) addEvent ( "RocketH", true ) addEventHandler ( "RocketH", root, function ( ) outputChatBox("* You have successfully Gived Heat-Seeking RPG", source, 0, 255, 0) givePedWeapon(source, 36, 20, true) end) معليش ض اخر مره والله وش الغلط الديبوق [16:06:02] ERROR: kkdd\server.lua:54: attempt to call global 'givePedWeapon' (a nil value) * You have successfully Gived Mini [16:06:08] ERROR: kkdd\server.lua:66: attempt to call global 'givePedWeapon' (a nil value) * You have successfully Gived Heat-Seeking RPG [16:06:08] ERROR: kkdd\server.lua:60: attempt to call global 'givePedWeapon' (a nil value) * You have successfully Gived Rocket Launchers
  22. لبااااا انت يشيخ تم الحل
×
×
  • Create New...