Ok, so i have this script... but i don't understand these write_short. I've tested some different values with various results.
Can i make them more logically? If so, can someone explain how? Lets say I want the message to hold for 13 seconds... what would i type in at "holdtime" to make it last that long?
Code:
message_begin(MSG_BROADCAST ,SVC_TEMPENTITY, {0,0,0}, id)
write_byte(TE_TEXTMESSAGE)
write_byte(-1)
write_short(1<<10) // X
write_short(1<<12) // Y
write_byte(0)
write_byte(255)
write_byte(0)
write_byte(0)
write_byte(255)
write_byte(0)
write_byte(0)
write_byte(0)
write_byte(255)
write_short(1<<1) // Fadein
write_short(1<<1) // Fadeout
write_short(1<<10) // Hold
write_string("Text")
message_end()