Quote:
Originally Posted by urban_ninja
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)
|
They must always be in that order: red, green, blue. In fact, every write_* function must be in the correct order for the message to get built correctly.
__________________