in the message_const.inc it show the color types but I dont see how amxx would know on its own which of the values between 0-255 its supposed to be.
// write_byte(red)
// write_byte(green)
// write_byte(blue)
But then if I specify the value like shown below how would amxx tell appart which one of those value is supposed to go towards red, blue or green?
write_byte(250)
write_byte(150)
write_byte(0)
Basicaly my confusion is write_byte, write_cood, write_shor,ect aren't unique fuctions and can be anything and shear logic of its use contradicts its self. On top of it the write_ fuctions hold only one value and it might make better sense if write_ functions was structured like other amxx functions where you have multiple param going into the function like 1 for what its supposed to be and the other for the value like for example write_byte(red, 255) wouldnt be confusing but unfortunately it not like that.
I plan on making a game play plugin that add new weapons and it can't made with out message functions. I have no clue how message functions and everything that associates with it completely work and where to begin. How does it all work? And im not just talking about general stuff like individual functions, Im talking about how does it all work to the point?
Please don't redirect me to wiki or anywhere else because I have looked there and the depth of the details is very shallow.