Jump to content

Triggering client event


Drakath

Recommended Posts

Posted

How can I prevent this error: "Server triggered clientside event eventName, but event is not added clientside" with onMarkerHit which triggers a client event?

Posted

I think you understood me wrong. I scripted everything correctly and it works but sometimes when player hasn't finished downloading the client script, this error appears for him. How can I check if the download of my client script is finished and loaded?

Posted

You can make a table of available players on the server, and when the client finishes downloading (when your script starts, onClientResourceStart with resourceRoot as the element) simply trigger server to add the client into the table.

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...