SXN7R
Известный
- 286
- 83
Помогите с мои говнокодом, крашит когда захожу на сервер.
CLEO:
// This file was decompiled using SASCM.ini published by GTAG (http://gtag.gtagaming.com/opcode-database) on 14.6.2013
{$CLEO .cs}
//-------------MAIN---------------
0000: NOP
0AC8: 4@ = allocate_memory_size 256
0BE3: raknet setup_incoming_rpc_hook @Noname_28
:Noname_17
0001: wait 0 ms
0002: jump @Noname_17
:Noname_28
0BE5: raknet 0@ = get_hook_param 0
0BE5: raknet 1@ = get_hook_param 1
00D6: if
0039: 1@ == 93
004D: jump_if_false @Noname_233
0BE7: raknet 2@ = bit_stream_read 0@ type 3
0BE7: raknet 3@ = bit_stream_read 0@ type 3
0C11: memset destination 4@ value 0 size 256
0BE8: raknet bit_stream 0@ read_array 4@ size 3@
0C0F: array 4@ element 3@ = 0
0B2B: samp 10@ = get_player_id_by_actor_handle $PLAYER_ACTOR
0B36: samp 11@ = get_player_nickname 10@
0AD3: 12@ = format " %s принимает дозу наркотиков" 11@
00D6: if
0C18: 5@ = strstr string1 4@ string2 12@
004D: jump_if_false @Noname_233
0AF9: samp say_msg "/time"
0AF9: samp say_msg "?"
:Noname_233
0BE0: raknet hook_ret 1