Jump to content

triggerClientEvent not working?


Recommended Posts

function onJoin() 
triggerClientEvent("showLoginWindow", getRootElement()) 
end 
addEventHandler("onPlayerJoin", getRootElement(), onJoin) 
  
function testME(ply) 
    triggerClientEvent("showLoginWindow", getRootElement(), ply) 
end 
addCommandHandler("derp", testME) 

Link to comment

Like I said, not helping. The original code shows a lot more, but if I get 0000000000 ZERO NO NO NOTHING NO NO ERRORS! Then the triggerClientEvent gets ignored.

Unless you're a moderator or part of the MTA team, I'd appreciate the help with the issue, because for some reason other people are sending me their codes which do work, but when I compare the code, it's the exact same code, but not working.

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