can someone tell me where the error is
code
chatlog
[19:51:28] Excellent delivery! Your earnings are: {00CC00}$2250{FFFFFF} and {FF3300} 7 pieces{FFFFFF} to create weapons.
code
chatlog
[19:51:28] Excellent delivery! Your earnings are: {00CC00}$2250{FFFFFF} and {FF3300} 7 pieces{FFFFFF} to create weapons.
Code:
{$CLEO .cs}
0000: NOP
alloc 2@ 280
while true
wait 0
if or
00DD: actor $PLAYER_ACTOR driving_car_with_model #YANKEE
00DD: actor $PLAYER_ACTOR driving_car_with_model #BOXBURG
then
0AB1: call @getChatEntryText 1 id 99 to 2@
if
0AD4: $not_used = scan_string 2@ format "Excellent delivery! Your earnings are: {00CC00}%s%d{FFFFFF} & {FF3300}%d pieces{FFFFFF} to create weapons." 20@v 21@ 22@
then
chatmsg "scan workkkkkkkk" -1
end
end
end
:getChatEntryText
0AF7: samp 1@ = get_base
1@ += 0x21A0E4
0A8D: 1@ = read_memory 1@ size 4 virtual_protect 0
1@ += 0x136
0@ *= 252 // size of stChatEntry
005A: 1@ += 0@ // (int)
1@ += 28
0AB2: 1 1@