JR10 Posted August 19, 2011 Share Posted August 19, 2011 Are you sure you started it? Try outputting a message when the script starts, to check if it really starts. Link to comment
NeveR Posted August 19, 2011 Author Share Posted August 19, 2011 When i start it otputs a message: "cbug.zip" loaded succesfully Link to comment
JR10 Posted August 19, 2011 Share Posted August 19, 2011 Then the problem is with the script, I tried setGlitchEnabled before, if I remember correctly, it didn't work. Link to comment
NeveR Posted August 19, 2011 Author Share Posted August 19, 2011 i Used this script: 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 ( "onResourceStart", getResourceRootElement ( ), resourceStop ) How can i do the cbug???? Link to comment
JR10 Posted August 19, 2011 Share Posted August 19, 2011 What you mean exactly, by cbug? Link to comment
NotAvailable Posted August 19, 2011 Share Posted August 19, 2011 i Used this script: 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 ( "onResourceStart", getResourceRootElement ( ), resourceStop ) How can i do the cbug???? Why are there 2 the same events? addEventHandler ( "onResourceStart", getResourceRootElement ( ), resourceStart ) addEventHandler ( "onResourceStart", getResourceRootElement ( ), resourceStop ) 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 ) Link to comment
TAPL Posted August 19, 2011 Share Posted August 19, 2011 (edited) Why are there 2 the same events? addEventHandler ( "onResourceStart", getResourceRootElement ( ), resourceStart ) addEventHandler ( "onResourceStart", getResourceRootElement ( ), resourceStop ) my bad, i forgot to change to onResourceStop i think NeveR don't know how to do C-Bug you wanna check if it's work or not? then give your self any weapon and shot one shot and look at clip then Switch your weapon and again back to the weapon you was shot with and look at clip you will see your weapon has reloaded without animation then you will know that the Script is working Edited August 19, 2011 by Guest Link to comment
NotAvailable Posted August 19, 2011 Share Posted August 19, 2011 It does not work... Check these: - Make sure the script is server-sided in meta.xml - Add a outputChatBox message, to check if its working. - Make sure there are no other files with the same name. Link to comment
NeveR Posted August 19, 2011 Author Share Posted August 19, 2011 Why are there 2 the same events? addEventHandler ( "onResourceStart", getResourceRootElement ( ), resourceStart ) addEventHandler ( "onResourceStart", getResourceRootElement ( ), resourceStop ) my bad, i forgot to change to onResourceStop anyway the script still work i think NeveR don't know how to do C-Bug you wanna check if it's work or not? then give your self any weapon and shot one shot and look at clip then Switch your weapon and again back to the weapon you was shot with and look at clip you will see your weapon has reloaded without animation then you will know that the Script is working ah with cbug i mean: glitch, this https://www.youtube.com/watch?v=zJe9AtQ25Wg it's for shoot faste Link to comment
TAPL Posted August 19, 2011 Share Posted August 19, 2011 i have enter your server and when i join i see this * Connected! [MTA:SA Server 1.0 [Windows]] LOL you have very very old server, you should update your server to MTA Sa: 1.0.5 also the C-Bug not work with your server, as wiki say it's only work with mta 1.0.4 +++++ Link to comment
NeveR Posted August 20, 2011 Author Share Posted August 20, 2011 OK, btw i think that the script name is fastfire Link to comment
NotAvailable Posted August 20, 2011 Share Posted August 20, 2011 as wiki say it's only work with mta 1.0.4 +++++ <.< I feel stupid Link to comment
NeveR Posted August 20, 2011 Author Share Posted August 20, 2011 I updated my server but the script still don't work Link to comment
Tren Posted August 20, 2011 Share Posted August 20, 2011 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 He's need only c-bug script >_>. Do it is very easy : through resource "runcode" : /run setGlitchEnabled ( "crouchbug" , true ) or JUST DOWLOAD BASIC SCRIPT http://www.mediafire.com/?b6v0gzwvnvoxb3l . You can put it in "Startup" or start via console or client. Link to comment
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now