SkyDow Posted August 11, 2020 Share Posted August 11, 2020 Hi all ! I also have a problem with debugscript 3 on the server and it's hosted! why does this error occur to me continuously? please help me I'm a Beginner-Medium! ERROR: Server triggered clientside event syncFuel, but event is not added clientside ! Thank you in advance ! https://imgur.com/GBtIL9j Link to comment
MTA Team 0xCiBeR Posted August 12, 2020 MTA Team Share Posted August 12, 2020 This usually means exactly what the error says. You are trying to call a client-side event that is not created(either it being native/manually created with addEvent). This could be because of a script that failed to load and never registered the event, or depending on your script maybe certain conditions are not met for the event to be added. I suggest looking in your scripts for the event syncFuel and make sure that the script that registers the event is working properly. Link to comment
SpecT Posted August 12, 2020 Share Posted August 12, 2020 (edited) Most of the times (for me) this happens because the server is calling a client-side event while the player is still downloading the stuff and the client script isn't loaded yet. So if this is the case you will have to do a check whether the player has loaded the client scripts and then call the client event(s) from the server-side. Edited August 12, 2020 by SpecT 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