I'm not sure what I'm doing wrong here:
NOTE: using
amx 0.20 RC6
Code:
new gmsgFade // this is at the very beginning of my plugin
message_begin(MSG_ONE, gmsgFade, {0,0,0}, player)
write_short(1<<12)
write_short(1<<8)
write_byte(0)
write_byte(0)
write_byte(0)
write_byte(255)
message_end()
when this part of the code is run my server crashes and I get the following message
tried to create a message with a bogus message type ( 0 )
__________________