how can i replace my nickname with other word?
i have this but can't get it done..i know only to remove all line which contains specific text
i have this but can't get it done..i know only to remove all line which contains specific text
Code:
{$CLEO}
{$INCLUDE SF}
0000: NOP
while not SAMP.Available()
wait 400
end
0BE3: raknet setup_incoming_rpc_hook @in_rpc
WHILE TRUE
WAIT 0
wait 1000
END
:in_rpc
0BE5: raknet 0@ = get_hook_param PARAM_PACKETID
if 0@ == RPC_SCRCLIENTMESSAGE
then
0BE5: raknet 1@ = get_hook_param PARAM_BITSTREAM
0BE7: raknet 2@ = bit_stream_read 1@ type BS_TYPE_INT
0BE7: raknet 3@ = bit_stream_read 1@ type BS_TYPE_INT
0AC8: 4@ = allocate_memory_size 145
0BE8: raknet bit_stream 1@ read_array 4@ size 3@
0C0D: struct 4@ offset 3@ size 1 = 0
if
0C29: 5@ = stristr string1 4@ string2 "davidel"
then
//replace text davidel with david
end
0AC9: free_allocated_memory 4@
end
0BE0: raknet hook_ret true