manve1 Posted September 29, 2012 Share Posted September 29, 2012 I tried using what jay said, re-made it .. ect .. but still didn't work, even if i make it client or server side ( i left it as server side ) function cry_baby() setTimer(outputChatBox,100,1,getPlayerName(source) .."#FF0000 Cries like a baby #0000FF",source,255,255,255,true) end addCommandHandler( "cry", cry_baby ) in debug it tells about the "getPlayerName" that it gets boolen... Link to comment
TAPL Posted September 29, 2012 Share Posted September 29, 2012 function cry_baby() to function cry_baby(source) Link to comment
manve1 Posted September 29, 2012 Author Share Posted September 29, 2012 how could i make that others would see it too? Link to comment
Anderl Posted September 29, 2012 Share Posted September 29, 2012 addCommandHandler('cry', function(p) outputChatBox(string.format('%s %s', getPlayerName(p), '#ff0000cries like a baby!'), root, 255, 255, 255, true) end ) Just for you to know what I changed to make everybody see it, I changed source to root in outputChatBox. 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