Jump to content

mrkey82

Members
  • Posts

    10
  • Joined

  • Last visited

Posts posted by mrkey82

  1. 3 minutes ago, mrkey82 said:
    
    
    
    
    
     
     
     
     
     

    Can you remake the code for me? Please :(

    4 minutes ago, SpecT said:

    The error says it all. You have useless/unexpected symbol that stops the code to load.
     

    
    local glitches = {"quickreload","fastmove","crouchbug","highcloserangedamage","hitanim","baddrivebyhitbox"}
    function enableGlitches ()
       for _,glitch in ipairs(glitches) do
       end 
    end
    addEventHandler ( "onResourceStart", resourceRoot,enableGlitches)

     

    Can you remake the code for me? Please :(

  2. 14 minutes ago, SpecT said:

    Merhaba ve foruma hoş geldiniz!

    "HandleOnPlayerACInfo" için olay işleyicisinin eksik olduğunu düşünüyorum (nedeni bu olabilir) veya belki de buraya yapıştırmadınız.

    
    


    Aldığınız hatanın ne olduğunu gösterebilir misiniz?

    Here is the picture that gives this error
     
     
     
     
     
  3. This gives an error. I want the macro to kick automatically as soon as it is pressed, but it doesn't work. Can you help me?

    codes;

    function handleOnPlayerACInfo( detectedACList, d3d9Size, d3d9MD5, d3d9SHA256 )
        for _,acCode in ipairs( detectedACList ) do
            if acCode == 31 or acCode == 32 or acCode == 1 or acCode == 4 or acCode == 5 or acCode == 6 or acCode == 7 or acCode == 11 or acCode == 17 or acCode == 21 then
            	kickPlayer( source, "Macro não é permitido no servidor." )
            end
        end
    end
    
    local glitches = {"quickreload","fastmove","crouchbug","highcloserangedamage","hitanim","baddrivebyhitbox"}
    function enableGlitches ()
       for _,glitch in ipairs(glitches) do)
       end 
    end
    addEventHandler ( "onResourceStart", getResourceRootElement ( ),enableGlitches)
    
    
    function source ( source, command )
    		local reload = aclReload() -- Reload the ACL
    			if ( reload ) then -- Check it was reloaded successfully
    			else -- If not, output it (line below)
    				outputChatBox ( "An unknown error occured. Please check the ACL file exists.", source, 255, 0, 0 )
    			end
    	else -- If they're not an admin, output it (below)
    		outputChatBox ( "You must be an admin to use this command!", source, 255, 0, 0 )
    	end
    end
    addCommandHandler ( "reload", source )
    

     

×
×
  • Create New...