..:D&G:.. Posted April 30, 2016 Share Posted April 30, 2016 Ok so the script worked before, now it says that an element was expected at argument 2, but got string (which is the event name). I know for a fact that at argument 2 I'm supposed to put the event name, I even checked the wiki... triggerClientEvent(thePlayer, "createNotification", thePlayer, id, font, scale, textColor, bgColor, itemName, itemValue, destroyable) Any ideas? Thanks. Link to comment
Tomas Posted April 30, 2016 Share Posted April 30, 2016 Are you sure 'thePlayer' is an element/not a string? Link to comment
..:D&G:.. Posted April 30, 2016 Author Share Posted April 30, 2016 I restarted the server and it works now, dunno what was wrong with it 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