Jump to content

Server Event issue


Recommended Posts

Okay so when I try to trigger this client side:

triggerServerEvent("unlockTheProperty", resourceRoot, theProperty, thePlayer) 

I get this issue in the console:

ERROR: Client (Stefan) triggered serverside event unlockTheProperty, but event is not added serverside 

Serverside:

addEvent ("unlockTheInterior",true) 
addEventHandler ("unlockTheInterior",root, 
function (targetProperty, targetPlayer) 
    outputChatBox("To be continued..") 
end) 

And yes, the both the server and client scripts are added in meta.xml

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