Teqskater Posted May 16, 2008 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
Teqskater Posted May 16, 2008 Author 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
XetaQuake Posted May 16, 2008 Posted May 16, 2008 outputChatBox ( "Text in color! YEA", getRootElement(), 200, 160, 180 ) 200 = R 160 = G 180 = B Works good for me
XetaQuake Posted May 16, 2008 Posted May 16, 2008 outputChatBox ( "Text in color! YEA", getRootElement(), 200, 160, 180 ) 200 = R 160 = G 180 = B Works good for me
Teqskater Posted May 16, 2008 Author 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.
Teqskater Posted May 16, 2008 Author 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.
Brophy Posted May 16, 2008 Posted May 16, 2008 as long as the player element is defined as 'speler', it should work
Brophy Posted May 16, 2008 Posted May 16, 2008 as long as the player element is defined as 'speler', it should work
Teqskater Posted May 17, 2008 Author 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
Teqskater Posted May 17, 2008 Author 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
Brophy Posted May 17, 2008 Posted May 17, 2008 put your code onto the mta pastebin and show us, perhaps we can help
Brophy Posted May 17, 2008 Posted May 17, 2008 put your code onto the mta pastebin and show us, perhaps we can help
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