furruz Posted August 19, 2012 Share Posted August 19, 2012 Hi i want to use removeEventHandler to remove an event from another Resource (players). The event i want to remove is clientside; in respawn_c.lua. How can i use it? included in server code: removeEventHandler( "onClientRender", hitElement, drawRespawnText) included in xml: <include resource="players"/> Link to comment
Castillo Posted August 19, 2012 Share Posted August 19, 2012 You can't remove a event of one resource from another, you could make a exported function to remove it. Link to comment
furruz Posted August 25, 2012 Author Share Posted August 25, 2012 thanks! i have solved it with another method but i'm interested in export a pair of client functions for hunger script. I will post it now. 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