Code:
Welcome to the AMX Mod X 1.8.1-300 Compiler.
Copyright (c) 1997-2006 ITB CompuPhase, AMX Mod X Team
Warning: Tag mismatch on line 162
Warning: Tag mismatch on line 164
Header size: 852 bytes
Code size: 3612 bytes
Data size: 2560 bytes
Stack/heap size: 16384 bytes; estimated max. usage=322 cells (1288 bytes)
Total requirements: 23408 bytes
2 Warnings.
Done.
PHP Code:
csaw_send_tutormsg(id, Tutor_Colors:iType, Tutor_Sounds:iSound, Float: HoldTime, const Msg[])
{
if( iSound != Silent )
{
client_cmd(id, "spk %s", csaw_tutor_sound[iSound])
}
message_begin(id ? MSG_ONE_UNRELIABLE : MSG_BROADCAST, csaw_tutortext_msg, .player=id)
write_string(Msg)
write_byte(0)
write_short(-1)
write_short( id && !is_user_alive(id) )
write_short( _:iType )
message_end()
id += TASK_OFFSET
remove_task(id)
if( HoldTime > 0.0 )
{
set_task(HoldTime, "csaw_tutor_close", id)
}
}
iSound != Silent and the client_cmd
__________________