Anubhav Posted April 11, 2015 Share Posted April 11, 2015 Hey everyone, I've a problem, but I dont get to find a solution. I'm using Bonsai's Gamemode, and I was editing it. _getPlayerName = getPlayerName function getPlayerName( player ) --outputChatBox("called") local returnHere = _getPlayerName( player ) if getElementData( player, "name2" ) then outputChatBox('pro') return getElementData( player, "name2" ) end return returnHere end I added this, code, but ONLY IN SOME RESOURCES it returns false. But in scoreboard ( onClientRender ), it just shows perfect. Works on: CCS ( works at server_side ) CCS_scoreboard (It was set here, it works ) CCS_killmessages (Just shows perfect) CCS_rankingboard (Just shows perfect) Any solutions?> Link to comment
xXMADEXx Posted April 12, 2015 Share Posted April 12, 2015 What resources is the script not working in? It might be better to make another resource, and have an export to the function. 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