Edd004
Active member
- Joined
- Mar 10, 2013
- Messages
- 155
- Reaction score
- 0
i used getChatEntryText snippet but its for 0.3z :bawww:
snippet
so then i need to know what kind of opcode use in sampfunc to get the chat text :forever_hurra:
i used 0B75: samp get_chat_string 10@ text_to 1@ prefix_to 3@ color_to 4@ prefix_color_to 5@
but it seems not working hgodwhy:
plz someone update the snippet or gimme the opcode in sampfunc :yesyes:
snippet
:getChatEntryText
0AB1: call @GetSampBase 0 1@
1@ += 0x212A6C
0A8D: 1@ = read_memory 1@ size 4 virtual_protect 0
1@ += 0x136
0@ *= 252 // size of stChatEntry
005A: 1@ += 0@ // (int)
1@ += 28
0AB2: ret 1 1@
:GetSampBase
0AA2: 31@ = load_library "kernel32.dll" // IF and SET
0AA4: 30@ = get_proc_address "GetModuleHandleA" library 31@ // IF and SET
0AA7: call_function 30@ num_params 1 pop 0 "samp.dll" 0@
0ab2: ret 1 0@
0AB1: call @GetSampBase 0 1@
1@ += 0x212A6C
0A8D: 1@ = read_memory 1@ size 4 virtual_protect 0
1@ += 0x136
0@ *= 252 // size of stChatEntry
005A: 1@ += 0@ // (int)
1@ += 28
0AB2: ret 1 1@
:GetSampBase
0AA2: 31@ = load_library "kernel32.dll" // IF and SET
0AA4: 30@ = get_proc_address "GetModuleHandleA" library 31@ // IF and SET
0AA7: call_function 30@ num_params 1 pop 0 "samp.dll" 0@
0ab2: ret 1 0@
i used 0B75: samp get_chat_string 10@ text_to 1@ prefix_to 3@ color_to 4@ prefix_color_to 5@
but it seems not working hgodwhy:
plz someone update the snippet or gimme the opcode in sampfunc :yesyes: