Jump to content

[Help] Triggering Client Event


Recommended Posts

Hello,Today I've made Iron Miner Job

All Things works perfectly ,But there something ,When Send the info of Account from Server to Client won't Triggering

Server Side:

triggerClientEvent("onClientCraft", root,tonumber(newirons))) 

Client Side:

GUIEditor.label[1] = guiCreateLabel(327, 209, 182, 29, "You have 0 blocks of iron", false, GUIEditor.window[3]) 
        function getirons(irons) 
        guiSetText(GUIEditor.label[1],"You have "..irons.." blocks of iron") 
        addEventHandler("onClientCraft", getRootElement(),getirons) 

Error:Server Triggered ClientSide event onClientCraft,but event is not marked as Remotly triggerable

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