Jump to content

Cbug script


NeveR

Recommended Posts

Server-Side

function resourceStart () 
    setGlitchEnabled ( "quickreload", true ) 
    setGlitchEnabled ( "fastmove", true ) 
    setGlitchEnabled ( "fastfire", true ) 
    setGlitchEnabled ( "crouchbug", true ) 
end 
addEventHandler ( "onResourceStart", getResourceRootElement ( ), resourceStart ) 
  
function resourceStop () 
    setGlitchEnabled ( "quickreload", false ) 
    setGlitchEnabled ( "fastmove", false ) 
    setGlitchEnabled ( "fastfire", false ) 
    setGlitchEnabled ( "crouchbug", false ) 
end 
addEventHandler ( "onResourceStop", getResourceRootElement ( ), resourceStop ) 

Meta

    

Edited by Guest
Link to comment
addEventHandler("onClientResourceStart", resourceRoot, 
function() 
setWorldSpecialPropertyEnabled ( "hovercars" , true ) 
setWorldSpecialPropertyEnabled ( "aircars" , true ) 
setWorldSpecialPropertyEnabled ( "extrabunny" , true ) 
setWorldSpecialPropertyEnabled ( "extrajump" , true ) 
end) 
  
addEventHandler("onClientResourceStop", resourceRoot, 
function ( ) 
setWorldSpecialPropertyEnabled ( "hovercars" , false) 
setWorldSpecialPropertyEnabled ( "aircars" , false) 
setWorldSpecialPropertyEnabled ( "extrabunny" , false) 
setWorldSpecialPropertyEnabled ( "extrajump" , false) 
end) 

Link to comment

Make a new file.

In it create two files, meta.xml, client.lua.

in meta.xml:

<meta> 
<script src = "client.lua" type = "client" /> 
</meta> 

in client.lua:

addEventHandler("onClientResourceStart", resourceRoot, 
function() 
setWorldSpecialPropertyEnabled ( "hovercars" , true ) 
setWorldSpecialPropertyEnabled ( "aircars" , true ) 
setWorldSpecialPropertyEnabled ( "extrabunny" , true ) 
setWorldSpecialPropertyEnabled ( "extrajump" , true ) 
end) 
  
addEventHandler("onClientResourceStop", resourceRoot, 
function ( ) 
setWorldSpecialPropertyEnabled ( "hovercars" , false) 
setWorldSpecialPropertyEnabled ( "aircars" , false) 
setWorldSpecialPropertyEnabled ( "extrabunny" , false) 
setWorldSpecialPropertyEnabled ( "extrajump" , false) 
end) 

Btw this script will make you jump high, jump high with a bike, cars float on water, and cars fly.

Link to comment
did you start the resource?

type in Console or in F8 in Game ( start ResourceNameHere )

*ResourceNameHere is name of the folder you have put in files c-bug.lua and meta.xml

So i have to creare a zip file, with c-bug.lua and meta.xml inside?

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...