{$CLEO}
{$INCLUDE SF}
wait 2000
0BE3: raknet setup_incoming_rpc_hook @txdrw
0BDE: pause_thread 0
:txdrw
0BE5: raknet 0@ = get_hook_param PARAM_PACKETID
if
0039: 0@ == 134
then
0BE5: raknet 1@ = get_hook_param PARAM_BITSTREAM
0BE7: raknet 2@ = bit_stream_read 1@ type BS_TYPE_SHORT// UINT16 wTextDrawID
0BE7: raknet 3@ = bit_stream_read 1@ type BS_TYPE_BYTE //UINT8 Flags
0BE7: raknet 4@ = bit_stream_read 1@ type BS_TYPE_FLOAT//float fLetterWidth
0BE7: raknet 5@ = bit_stream_read 1@ type BS_TYPE_FLOAT//float fLetterHeight
0BE7: raknet 6@ = bit_stream_read 1@ type BS_TYPE_INT //UINT32 dwLetterColor
0BE7: raknet 7@ = bit_stream_read 1@ type BS_TYPE_FLOAT//float fLineWidth
0BE7: raknet 8@ = bit_stream_read 1@ type BS_TYPE_FLOAT//float fLineHeight
0BE7: raknet 9@ = bit_stream_read 1@ type BS_TYPE_INT //UINT32 dwBoxColor
0BE7: raknet 10@ = bit_stream_read 1@ type BS_TYPE_BYTE//UINT8 Shadow
0BE7: raknet 11@ = bit_stream_read 1@ type BS_TYPE_BYTE//UINT8 Outline
0BE7: raknet 12@ = bit_stream_read 1@ type BS_TYPE_INT //UINT32 dwBackgroundColor
0BE7: raknet 13@ = bit_stream_read 1@ type BS_TYPE_BYTE//UINT8 Style
0BE7: raknet 14@ = bit_stream_read 1@ type BS_TYPE_BYTE//UINT8 Selectable
0BE7: raknet 15@ = bit_stream_read 1@ type BS_TYPE_FLOAT//float fX
0BE7: raknet 16@ = bit_stream_read 1@ type BS_TYPE_FLOAT//float fY
0BE7: raknet 17@ = bit_stream_read 1@ type BS_TYPE_SHORT//UINT16 wModelID
0BE7: raknet 18@ = bit_stream_read 1@ type BS_TYPE_FLOAT//float fRotX
0BE7: raknet 19@ = bit_stream_read 1@ type BS_TYPE_FLOAT//float fRotY
0BE7: raknet 20@ = bit_stream_read 1@ type BS_TYPE_FLOAT//float fRotZ
0BE7: raknet 21@ = bit_stream_read 1@ type BS_TYPE_FLOAT//float fZoom
0BE7: raknet 22@ = bit_stream_read 1@ type BS_TYPE_SHORT//UINT16 wColor1
0BE7: raknet 23@ = bit_stream_read 1@ type BS_TYPE_SHORT//UINT16 wColor2
0AC8: 24@ = allocate_memory_size 124
0BE7: raknet 24@ = bit_stream_read 1@ type BS_TYPE_BYTE //UINT8 szTextLen
//////Ошибка скорее всего, где-то тут.
0AC8: 25@ = allocate_memory_size 256
0BE8: raknet bit_stream 1@ read_array 25@ size 24@ //char[] szText
0AF8: samp add_message_to_chat "> textdraw id: %d | text: %s | color: %p | shadow: %d | style: %d | lenght: %d | posX: %f | posY: %f <" color -1 2@ 25@ 6@ 10@ 13@ 24@ 15@ 16@
//////Ошибка скорее всего, где-то тут
0AC9: free_allocated_memory 24@
0AC9: free_allocated_memory 25@
end
0BE0: raknet hook_ret true