Castillo Posted February 15, 2015 Share Posted February 15, 2015 You didn't specify to which player the message has to be sent to: local text, _, r, g, b, hex = unpack ( messages [ n ] ) outputChatBox ( tostring ( text ), source, r, g, b, hex ) By the way, what is "p" in that table? Link to comment
JkR Posted February 16, 2015 Author Share Posted February 16, 2015 You didn't specify to which player the message has to be sent to: local text, _, r, g, b, hex = unpack ( messages [ n ] ) outputChatBox ( tostring ( text ), source, r, g, b, hex ) By the way, what is "p" in that table? player Link to comment
JkR Posted February 16, 2015 Author Share Posted February 16, 2015 You didn't specify to which player the message has to be sent to: local text, _, r, g, b, hex = unpack ( messages [ n ] ) outputChatBox ( tostring ( text ), source, r, g, b, hex ) By the way, what is "p" in that table? function NeedMsg(p,n,source) local text, _, r, g, b, hex = unpack ( messages [ n ] ) outputChatBox ( tostring ( text ), source, r, g, b, hex ) end iria asi? Link to comment
Castillo Posted February 18, 2015 Share Posted February 18, 2015 Yes, that should do the job. By the way, remove "p" from the table, and then change: local text, _, r, g, b, hex = unpack ( messages [ n ] ) to: local text, r, g, b, hex = unpack ( messages [ n ] ) 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