Teqskater Posted May 16, 2008 Share Posted May 16, 2008 foutrood = "#FF0000" outputChatBox(foutrood.."Het voertuig kon niet worden gemaakt.", speler, 255, 255, 255, true) any ideas wy this wont display the RED color ive setted in the variable foutrood? EDIT: I have another question: How do you count the entrys in a table and store it in a variable Link to comment
Teqskater Posted May 16, 2008 Author Share Posted May 16, 2008 foutrood = "#FF0000" outputChatBox(foutrood.."Het voertuig kon niet worden gemaakt.", speler, 255, 255, 255, true) any ideas wy this wont display the RED color ive setted in the variable foutrood? EDIT: I have another question: How do you count the entrys in a table and store it in a variable Link to comment
XetaQuake Posted May 16, 2008 Share Posted May 16, 2008 outputChatBox ( "Text in color! YEA", getRootElement(), 200, 160, 180 ) 200 = R 160 = G 180 = B Works good for me Link to comment
XetaQuake Posted May 16, 2008 Share Posted May 16, 2008 outputChatBox ( "Text in color! YEA", getRootElement(), 200, 160, 180 ) 200 = R 160 = G 180 = B Works good for me Link to comment
Teqskater Posted May 16, 2008 Author Share Posted May 16, 2008 i found the problem i think but not the solution: when i use your example it works. but i want to display text to one user only. so i replace getRootElement() with speler in my case. speler is the element for the player thats the message meant for. so when i replaced it it doesnt work anymore. is this just al limitation or what. i think so. Link to comment
Teqskater Posted May 16, 2008 Author Share Posted May 16, 2008 i found the problem i think but not the solution: when i use your example it works. but i want to display text to one user only. so i replace getRootElement() with speler in my case. speler is the element for the player thats the message meant for. so when i replaced it it doesnt work anymore. is this just al limitation or what. i think so. Link to comment
Brophy Posted May 16, 2008 Share Posted May 16, 2008 as long as the player element is defined as 'speler', it should work Link to comment
Brophy Posted May 16, 2008 Share Posted May 16, 2008 as long as the player element is defined as 'speler', it should work Link to comment
Teqskater Posted May 17, 2008 Author Share Posted May 17, 2008 yeah it should but it doesnt. i gonna do some research on it. it must be that im doing something wrong i think. but i just can't see it. anyways: thanks for the answers Link to comment
Teqskater Posted May 17, 2008 Author Share Posted May 17, 2008 yeah it should but it doesnt. i gonna do some research on it. it must be that im doing something wrong i think. but i just can't see it. anyways: thanks for the answers Link to comment
Brophy Posted May 17, 2008 Share Posted May 17, 2008 put your code onto the mta pastebin and show us, perhaps we can help Link to comment
Brophy Posted May 17, 2008 Share Posted May 17, 2008 put your code onto the mta pastebin and show us, perhaps we can help 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