:GetMetal
0AC8: 5@ = allocate_memory_size 1024
//0AC6: 5@ = label @Buffer offset
FOR 4@ = 0 TO 2048
IF 0B46: samp 3d_text 4@ defined
THEN
0C46: samp get_3d_text_info_by_id 4@ string_ptr 5@ color 6@ position 7@ 8@ 9@ view_distance 10@ show_behind_walls 11@ attached_to_player 12@ attached_to_vehicle 13@
//0B6F: render font 0@ draw_text 5@ pos 1@ 2@ color 0xFFFFFFFF
// IF 0AD4: 6@ = scan_string 5@ format "Èñõîäíûå ìàòåðèàëû:\nÒîïëèâî: %d / %d êã\nÌåòàëë: %d / %d êã\n \nÏðîäóêòû: %d øò." 7@ 8@ 9@ 10@ 11@
// THEN
// 0ACD: show_text_highpriority "~G~Vse verno" time 100
// 0AD3: 3@ = format "Ìåòàëëà íà ñêëàäå - %d / %d êã" 7@ 8@
// 0B6F: render font 0@ draw_text 3@ pos 1@ 2@ color 0xFFFFFFFF
// END
END
END
IF 0ADC: test_cheat "2"
THEN
chatmsg "%s" 5@
END
0AB2: RET 0