Опкоды SAMPFUNCS
На этой странице располагаются опкоды, добавляемые плагином SAMPFUNCS.
SAMP opcodes
Опкоды для взаимодействия с SAMP'омОпкод | Использование |
---|---|
0af6 | 0AF6: samp spawn_player |
0af7 | 0AF7: samp 0@ = get_base |
0af8 | 0AF8: samp add_message_to_chat "text" color 0xFFFFFF { ... } |
0af9 | 0AF9: samp say_msg "text/cmd" |
0afa | 0AFA: is_samp_available |
0afb | 0AFB: samp, REQuest_class 0@ |
0afc | 0AFC: samp send_scm_event 0@ event_id 1@ param_1 2@ param_2 3@ |
0afd | 0AFD: samp set_special_action 0@ |
0afe | 0AFE: samp send_death_by_player 0@ with_reason 1@ |
0aff | 0AFF: samp 1@ = car_handle_by_samp_vehicle_id 0@ |
0b20 | 0B20: samp 1@ = actor_handle_by_samp_player_id 0@ |
0b21 | 0B21: samp is_chat_opened |
0b22 | 0B22: samp set_sendrate 0@ to 1@ |
0b23 | 0B23: samp is_player_connected 0@ |
0b24 | 0B24: samp 1@ = get_player_struct_ptr 0@ |
0b25 | 0B25: samp 1@ = get_player_health 0@ |
0b26 | 0B26: samp 1@ = get_player_armor 0@ |
0b27 | 0B27: samp set_gamestate 0@ |
0b28 | 0B28: samp disconnect_with_reason 0@ |
0b29 | 0B29: samp set_local_name "name" |
0b2a | 0B2A: samp 1@ = get_player_ping 0@ |
0b2b | 0B2B: samp 1@ = get_player_id_by_actor_handle 0@ |
0b2c | 0B2C: samp 1@ = get_vehicle_id_by_car_handle 0@ |
0b2f | 0B2F: samp get_streamed_out_player_pos 0@ to 1@ 2@ 3@ |
0b30 | 0B30: samp send_enter_vehicle 0@ as_passenger 1@ |
0b31 | 0B31: samp send_exit_vehicle 0@ |
0b32 | 0B32: samp send_spawn |
0b33 | 0B33: samp send_damage_vehicle 0@ panel 1@ doors 2@ lights 3@ tires 4@ |
0b34 | 0B34: samp register_client_command "cmd" to_label @command |
0b35 | 0B35: samp 0@ = get_last_command_params |
0b36 | 0B36: samp 1@ = get_player_nickname 0@ |
0b37 | 0B37: samp 1@ = get_player_color 0@ |
0b38 | 0B38: samp connect_to_server "127.0.0.1" port 7777 |
0b39 | 0B39: samp get_current_server_address 0@ port 1@ |
0b3a | 0B3A: samp 0@ = get_current_server_name |
0b3b | 0B3B: samp show_dialog id 0@ caption "dlg" text "content" button_1 "btn1" button_2 "btn0" style 5@ |
0b3c | 0B3C: samp is_dialog_responded id 55 button 1@ list_item 2@ input_text 3@ |
0b43 | 0B43: samp cmd_ret |
0b44 | 0B44: samp 9@ = create_3d_text "piw-piw" color 1@ position 2@ 3@ 4@ view_distance 5@ show_behind_walls 6@ attached_to_player 7 |
0b45 | 0B45: samp destroy_3d_text 0@ |
0b46 | 0B46: samp 3d_text 0@ defined |
0b47 | 0B47: samp close_current_dialog_with_button 0@ |
0b48 | 0B48: samp 0@ = get_current_dialog_list_item |
0b49 | 0B49: samp set_current_dialog_list_item 0@ |
0b4a | 0B4A: samp 0@ = get_current_dialog_editbox_text |
0b4b | 0B4B: samp set_current_dialog_editbox_text "boom" |
0b4c | 0B4C: samp is_dialog_active 0@ |
0b4d | 0B4D: samp 0@ = get_current_dialog_type |
0b4e | 0B4E: samp 0@ = get_current_dialog_id |
0b4f | 0B4F: samp 0@ = get_gamestate |
0b50 | 0B50: samp 1@ = object_handle_by_id 0@ |
0b51 | 0B51: samp 1@ = pickup_handle_by_id 0@ |
0b52 | 0B52: samp 1@ = object_id_by_handle 0@ |
0b53 | 0B53: samp 1@ = pickup_id_by_handle 0@ |
0b54 | 0B54: samp 0@ = listbox_items_count |
0b57 | 0B57: samp 1@ = player 0@ animation_id |
0b58 | 0B58: samp get_animation_name_to 0@ file_to 1@ by_id 2@ |
0b59 | 0B59: samp 2@ = animation_id_by_name 0@ file 1@ |
0b5b | 0B5B: samp get_listbox_item 0@ text_to 1@ |
0b5c | 0B5C: samp is_player 0@ paused |
0b5d | 0B5D: samp toggle_cursor 0@ |
0b61 | 0B61: samp is_local_player_spawned |
0b62 | 0B62: samp 1@ = player 0@ special_action |
0b63 | 0B63: samp unregister_client_command "cmd" |
0b64 | 0B64: samp is_player 0@ npc |
0b65 | 0B65: samp 1@ = player 0@ score |
0b74 | 0B74: samp set_chat_string 0@ text "ho-ho-ho" prefix "" color 3@ prefix_color 4@ |
0b75 | 0B75: samp get_chat_string 0@ text_to 1@ prefix_to 2@ color_to 3@ prefix_color_to 4@ |
0b76 | 0B76: samp set_chat_input_text "yo" |
0b77 | 0B77: samp get_chat_input_text_to 0@ |
0b79 | 0B79: samp set_chat_input_enabled 0@ |
0b7f | 0B7F: samp 0@ = get_samp_info_ptr |
0b8c | 0B8C: samp is_cursor_active |
0b8d | 0B8D: samp set_cursor_mode 0@ |
0b8e | 0B8E: samp 0@ = get_cursor_mode |
0bac | 0BAC: samp 0@ = get_server_settings_ptr |
0bad | 0BAD: samp 0@ = get_samp_pools_ptr |
0bae | 0BAE: samp 0@ = get_chat_info_ptr |
0baf | 0BAF: samp 0@ = get_input_info_ptr |
0bb0 | 0BB0: samp 0@ = get_dialog_info_ptr |
0bb1 | 0BB1: samp 0@ = get_kill_info_ptr |
0bb2 | 0BB2: samp 0@ = get_misc_info_ptr |
0bb3 | 0BB3: samp 0@ = get_textdraw_pool_ptr |
0bb4 | 0BB4: samp 0@ = get_object_pool_ptr |
0bb5 | 0BB5: samp 0@ = get_gangzone_pool_ptr |
0bb6 | 0BB6: samp 0@ = get_textlabel_pool_ptr |
0bb7 | 0BB7: samp 0@ = get_player_pool_ptr |
0bb8 | 0BB8: samp 0@ = get_vehicle_pool_ptr |
0bb9 | 0BB9: samp 0@ = get_pickup_pool_ptr |
0bba | 0BBA: samp store_player 0@ onfoot_data 1@ |
0bbb | 0BBB: samp store_player 0@ incar_data 1@ |
0bbc | 0BBC: samp store_player 0@ passenger_data 1@ |
0bbd | 0BBD: samp store_player 0@ trailer_data 1@ |
0bbe | 0BBE: samp store_player 0@ aim_data 1@ |
0bbf | 0BBF: samp send_rcon_command "/login" |
0bc0 | 0BC0: samp send_onfoot_data 0@ |
0bc1 | 0BC1: samp send_incar_data 0@ |
0bc2 | 0BC2: samp send_passenger_data 0@ |
0bc3 | 0BC3: samp send_aim_data 0@ |
0bc4 | 0BC4: samp send_bullet_data 0@ |
0bc5 | 0BC5: samp send_trailer_data 0@ |
0bc6 | 0BC6: samp send_unoccupied_data 0@ |
0bc7 | 0BC7: samp send_spectator_data 0@ |
0bc8 | 0BC8: samp send_click_player 0@ source 1@ |
0bc9 | 0BC9: samp send_dialog_response dialog 0@ button 1@ listitem 2@ input "" |
0bca | 0BCA: samp send_click_textdraw 0@ |
0bcb | 0BCB: samp send_give_damage playerid 0@ damage 1@ weapon 2@ bodypart 3@ |
0bcc | 0BCC: samp send_take_damage issuerid 0@ damage 1@ weapon 2@ bodypart 3@ |
0bcd | 0BCD: samp send_edit_object playerobject 0@ object 1@ response 2@ pos 3@ 4@ 5@ rotation 6@ 7@ 8@ |
0bce | 0BCE: samp send_edit_attached_object response 0@ index 1@ model 2@ bone 3@ offset 4@ 5@ 6@ rot 7@ 8@ 9@ scale 10@ 11@ 12@ |
0bcf | 0BCF: samp send_interior_change 0@ |
0bd0 | 0BD0: samp send_request_spawn |
0bd1 | 0BD1: samp send_picked_up_pickup 0@ |
0bd2 | 0BD2: samp send_menu_select_row 0@ |
0bd3 | 0BD3: samp send_menu_quit |
0bd4 | 0BD4: samp send_vehicle_destroyed 0@ |
0bd5 | 0BD5: samp is_scoreboard_opened |
0bd6 | 0BD6: samp enable_scoreboard 0@ |
0bd7 | 0BD7: samp get_dialog_text 0@ |
0bd8 | 0BD8: samp get_dialog_caption 0@ |
0bd9 | 0BD9: samp set_dialog_clientside 0@ |
0bda | 0BDA: samp is_dialog_clientside |
0bdb | 0BDB: samp is_chat_visible |
0bdc | 0BDC: samp 0@ = get_chat_display_mode |
0bdd | 0BDD: samp set_chat_display_mode 0@ |
0c45 | 0C45: samp create_3d_text id 0@ text "piw-piw" color 2@ position 3@ 4@ 5@ view_distance 6@ show_behind_walls 7@ attached_to_pl |
0c46 | 0C46: samp get_3d_text_info_by_id 0@ string_ptr 1@ color 2@ position 3@ 4@ 5@ view_distance 6@ show_behind_walls 7@ attached_t |
0c47 | 0C47: samp set_3d_text 0@ string "piw-piw" |
0c48 | 0C48: samp textdraw 0@ create 1@ pos 2@ 3@ |
0c49 | 0C49: samp textdraw 0@ set_box 1@ color 2@ size 3@ 4@ |
0c4a | 0C4A: samp textdraw 0@ set_align 1@ |
0c4b | 0C4B: samp textdraw 0@ set_proportional 1@ |
0c4c | 0C4C: samp textdraw 0@ set_style 1@ |
0c4d | 0C4D: samp textdraw 0@ set_shadow 1@ color 2@ |
0c4e | 0C4E: samp textdraw 0@ set_outline 1@ color 2@ |
0c4f | 0C4F: samp textdraw 0@ set_model 1@ rotation 2@ 3@ 4@ zoom 5@ veh_color 6@ 7@ |
0c50 | 0C50: samp textdraw 0@ set_string "text" |
0c51 | 0C51: samp textdraw 0@ set_pos 1@ 2@ |
0c52 | 0C52: samp textdraw 0@ set_letter_size 1@ 2@ color 3@ |
0c53 | 0C53: samp textdraw 0@ get_box_enabled 1@ color 2@ size 3@ 4@ |
0c54 | 0C54: samp 1@ = textdraw 0@ get_align |
0c55 | 0C55: samp 1@ = textdraw 0@ get_proportional |
0c56 | 0C56: samp 1@ = textdraw 0@ get_style |
0c57 | 0C57: samp textdraw 0@ get_shadow 1@ color 2@ |
0c58 | 0C58: samp textdraw 0@ get_outline 1@ color 2@ |
0c59 | 0C59: samp textdraw 0@ get_model 1@ rotation 2@ 3@ 4@ zoom 5@ veh_color 6@ 7@ |
0c5a | 0C5A: samp textdraw 0@ get_string_to 1@ |
0c5b | 0C5B: samp textdraw 0@ get_pos 1@ 2@ |
0c5c | 0C5C: samp textdraw 0@ get_letter_size 1@ 2@ color 3@ |
0c5d | 0C5D: samp textdraw 0@ is_exists |
0c5e | 0C5E: samp textdraw 0@ delete |
0c7f | 0C7F: samp set_client_command "cmd" description "info" |
0c80 | 0C80: samp set_console_command "concmd" description "info" |
0c81 | 0C81: samp force_vehicle_sync 0@ |
0c82 | 0C82: samp force_unoccupied_sync 0@ seat_id 1@ |
0c83 | 0C83: samp force_onfoot_sync |
0c84 | 0C84: samp force_aim_sync |
0c85 | 0C85: samp force_trailer_sync 0@ |
0c86 | 0C86: samp force_passenger_sync 0@ seat_id 1@ |
0c87 | 0C87: samp force_stats_sync |
0c88 | 0C88: samp force_weapons_sync |
0c89 | 0C89: key_just_pressed 0x32 |
0c8a | 0C8A: samp 1@ = get_max_player_id streamed_only 0@ |
0c8b | 0C8B: samp 1@ = get_player_count streamed_only 0@ |
0c8f | 0C8F: samp process_chat_input 0@ |
0c90 | 0C90: samp is_client_command_defined "cmd" |
0c92 | 0C92: 0@ = get_cleo_library_version |
Misc opcodes
Опкоды не имеющие категорииОпкод | Использование |
---|---|
0b55 | 0B55: convert_3D_coords 0@ 1@ 2@ to_screen 3@ 4@ |
0b56 | 0B56: set_game_key 0@ state 1@ |
0b5a | 0B5A: get_screen_resolution 0@ 1@ |
0b5e | 0B5E: get_cursor_pos 0@ 1@ |
0b5f | 0B5F: convert_window_screen_coords 0@ 1@ to_game_screen_coords 2@ 3@ |
0b60 | 0B60: convert_game_screen_coords 0@ 1@ to_window_screen_coords 2@ 3@ |
0b78 | 0B78: log "text" |
0b8f | 0B8F: convert_screen_coords 0@ 1@ depth 2@ to_world_3d 3@ 4@ 5@ |
0bde | 0BDE: pause_thread 0@ |
0bdf | 0BDF: resume_thread 0@ |
0bfa | 0BFA: push_vars |
0bfb | 0BFB: pop_vars |
0bfc | 0BFC: set_global_var "gvar" = 1@ |
0bfd | 0BFD: 1@ = get_global_var "gvar" |
0bfe | 0BFE: 0@ = get_tick_count |
0c34 | 0C34: register_global_func "gfunc" to_label @label |
0c35 | 0C35: call_global_func "gfunc" params 0@ [1@, 2@...] [3@, 4@...] |
0c36 | 0C36: func_ret 0@ [1@, 2@...] |
0c37 | 0C37: is_global_func "gfunc" defined |
0c38 | 0C38: get_global_func "gfunc" thread 0@ label 1@ |
0c39 | 0C39: unregister_global_func "gfunc" |
0c5f | 0C5F: is_global_var "gvar" defined |
0c60 | 0C60: set_global_var "gvar" access_for_thread 0@ read 1@ write 2@ |
0c61 | 0C61: get_global_var "gvar" access_for_thread 0@ read_to 1@ write_to 2@ |
0c62 | 0C62: exec_console_command "threads active" |
0c63 | 0C63: register_console_command "command" to_label @console_cmd |
0c64 | 0C64: unregister_console_command "command" |
0c65 | 0C65: 3@ = download_url "http://boost.org/LICENSE_1_0.txt" to_file "boost_lic.txt" |
0c66 | 0C66: 1@ = get_download 0@ state |
0c67 | 0C67: get_windows_environment_variable "HOMEPATH" to 1@ size 2@ |
0c68 | 0C68: unicode_string 0@ to_ansi 1@ size 2@ |
0c69 | 0C69: ansi_string 0@ to_unicode 1@ size 2@ |
0c6a | 0C6A: 1@ = create_custom_thread_at_label 0@ |
0c6b | 0C6B: 1@ = create_custom_thread_at_pointer 0@ |
0c6c | 0C6C: set_thread 0@ local_var 1@ = 2@ |
0c6d | 0C6D: 2@ = get_thread 0@ local_var 1@ |
0c6e | 0C6E: destroy_custom_thread 0@ |
0c6f | 0C6F: restart_custom_thread 0@ |
0c70 | 0C70: 1@ = get_module "samp.dll" handle |
0c71 | 0C71: 2@ = get_module 0@ proc 1@ address |
0c72 | 0C72: set_virtual_key 0@ down 1@ |
0c74 | 0C74: 2@ = create_timer_interval 0@ on_label 1@ |
0c75 | 0C75: kill_timer 0@ |
0c76 | 0C76: reset_timer 0@ |
0c77 | 0C77: set_timer 1@ interval 1@ |
0c78 | 0C78: set_timer 0@ active 1@ |
0c79 | 0C79: is_timer 1@ active |
0c7a | 0C7A: 1@ = get_timer 0@ interval |
0c7b | 0C7B: 1@ = get_timer 0@ time_elapsed |
0c7c | 0C7C: 1@ = get_timer 0@ time_left |
0c7d | 0C7D: release_download 1@ |
0c7e | 0C7E: is_console_active |
0c8d | 0C8D: set_clipboard_text 0@ |
0c8e | 0C8E: get_clipboard_text 0@ size 1@ |
0c91 | 0C91: is_console_command_defined "cmd" |
RakNet opcodes
Опкоды для работы с сет. частью SAMP'а — RakNet'омОпкод | Использование |
---|---|
0b3d | 0B3D: raknet 0@ = new_bit_stream |
0b3e | 0B3E: raknet delete_bit_stream 0@ |
0b3f | 0B3F: raknet reset_bit_stream 0@ |
0b40 | 0B40: raknet bit_stream 0@ write 1@ type 2@ size 3@ |
0b41 | 0B41: raknet send_rpc 0@ bit_stream 1@ priority 2@ reliability 3@ ordering_channel 4@ shift_timestamp 5@ |
0b42 | 0B42: raknet send bit_stream 0@ priority 1@ reliability 2@ ordering_channel 3@ |
0b7a | 0B7A: samp 0@ = get_rakclient_interface |
0b7b | 0B7B: samp 0@ = get_rakpeer |
0b7c | 0B7C: samp 1@ = get_rakclient_func_by_index 0@ |
0b7d | 0B7D: samp 1@ = get_rpc_func_by_index 0@ |
0b7e | 0B7E: samp 1@ = get_rpc_node_by_index 0@ |
0b8a | 0B8A: raknet send_rpc 0@ bit_stream 1@ |
0b8b | 0B8B: raknet send bit_stream 0@ |
0be0 | 0BE0: raknet hook_ret 0@ |
0be1 | 0BE1: raknet setup_outcoming_rpc_hook @label |
0be2 | 0BE2: raknet setup_outcoming_packet_hook @label |
0be3 | 0BE3: raknet setup_incoming_rpc_hook @label |
0be4 | 0BE4: raknet setup_incoming_packet_hook @label |
0be5 | 0BE5: raknet 1@ = get_hook_param 0@ |
0be6 | 0BE6: raknet set_hook_param 0@ = 1@ |
0be7 | 0BE7: raknet 2@ = bit_stream_read 0@ type 1@ |
0be8 | 0BE8: raknet bit_stream 0@ read_array 1@ size 2@ |
0be9 | 0BE9: raknet bit_stream 0@ reset_read_pointer |
0bea | 0BEA: raknet bit_stream 0@ reset_write_pointer |
0beb | 0BEB: raknet bit_stream 0@ ignore_bits 1@ |
0bec | 0BEC: raknet bit_stream 0@ set_write_offset 1@ |
0bed | 0BED: raknet bit_stream 0@ set_read_offset 1@ |
0bee | 0BEE: raknet 1@ = bit_stream 0@ get_number_of_bits_used |
0bef | 0BEF: raknet 1@ = bit_stream 0@ get_number_of_bytes_used |
0bf0 | 0BF0: raknet 1@ = bit_stream 0@ get_number_of_unread_bits |
0bf1 | 0BF1: raknet 1@ = bit_stream 0@ get_write_offset |
0bf2 | 0BF2: raknet 1@ = bit_stream 0@ get_read_offset |
0bf3 | 0BF3: raknet 1@ = bit_stream 0@ get_data_ptr |
0bf4 | 0BF4: raknet bit_stream 0@ decode_string 1@ size 2@ |
0bf5 | 0BF5: raknet bit_stream 0@ encode_string 1@ size 2@ |
0bf6 | 0BF6: raknet emul_rpc_receive 0@ bit_stream 1@ |
0bf7 | 0BF7: raknet emul_packet_receive 0@ bit_stream 1@ |
0bf8 | 0BF8: raknet 1@ = get_rpc_name 0@ |
0bf9 | 0BF9: raknet 1@ = get_packet_name 0@ |
Dialog opcodes
Опкоды для работы с DXUT(диалоги SF)Опкод | Использование |
---|---|
0b80 | 0B80: dialog 2@ = create "SF Dialog" |
0b81 | 0B81: dialog 1@ pop_event_to 2@ control_id_to 3@ |
0b82 | 0B82: dialog 1@ add_button id 2@ text 3@ pos_XY 4@ 5@ size 6@ 7@ |
0b83 | 0B83: dialog 1@ add_checkbox id 2@ text 3@ pos_XY 4@ 5@ size 6@ 7@ |
0b84 | 0B84: dialog 1@ set_pos_XY 2@ 3@ size 4@ 5@ |
0b85 | 0B85: dialog 1@ get_position_to 2@ 3@ size_to 4@ 5@ |
0b86 | 0B86: dialog 1@ set_visible 2@ |
0b87 | 0B87: dialog 1@ is_visible |
0b88 | 0B88: dialog 1@ add_editbox id 2@ text 3@ pos_XY 4@ 5@ size 6@ 7@ |
0b89 | 0B89: dialog 1@ get_control 2@ text_to 3@ |
0b90 | 0B90: dialog 1@ control 2@ set_visible 3@ |
0b91 | 0B91: dialog 1@ add_static id 2@ text 3@ pos_XY 4@ 5@ size 6@ 7@ |
0b92 | 0B92: dialog 1@ checkbox 2@ is_checked |
0b93 | 0B93: dialog 1@ set_background_color 2@ |
0b94 | 0B94: dialog 1@ set_control 2@ text 3@ |
0b95 | 0B95: dialog 1@ control 2@ is_visible |
0b96 | 0B96: dialog 1@ add_slider id 2@ pos_XY 3@ 4@ size 5@ 6@ max 7@ |
0b97 | 0B97: dialog 1@ slider 2@ get_value_to 3@ |
0b98 | 0B98: dialog 1@ slider 2@ set_value_to 3@ |
0b99 | 0B99: dialog 1@ add_listbox id 2@ pos_XY 3@ 4@ size 5@ 6@ |
0b9a | 0B9A: dialog 1@ listbox 2@ insert_element 3@ with_data 4@ after 5@ |
0b9b | 0B9B: dialog 1@ listbox 2@ selected_element_to 3@ elements_count_to 4@ |
0b9c | 0B9C: dialog 1@ listbox 2@ delete_element 3@ |
0b9d | 0B9D: dialog 1@ listbox 2@ element 3@ store_text_to 4@ data_to 5@ |
0b9e | 0B9E: dialog 1@ checkbox 2@ set_checked 3@ |
0b9f | 0B9F: dialog 1@ enable_caption 2@ |
0ba0 | 0BA0: dialog 1@ is_caption_enabled |
0ba1 | 0BA1: dialog 1@ set_minimized 2@ |
0ba2 | 0BA2: dialog 1@ is_minimized |
0ba3 | 0BA3: dialog 1@ control 2@ free |
0ba4 | 0BA4: dialog 1@ free |
0ba5 | 0BA5: dialog 1@ set_focus_on_control 2@ |
0ba6 | 0BA6: dialog 1@ set_control 2@ size_XY 3@ 4@ |
0ba7 | 0BA7: dialog 1@ get_control 2@ size_to 3@ 4@ |
0ba8 | 0BA8: dialog 1@ set_control 2@ pos_XY 3@ 4@ |
0ba9 | 0BA9: dialog 1@ get_control 2@ pos_to 3@ 4@ |
0baa | 0BAA: dialog 1@ set_checkbox 2@ color 3@ |
0bab | 0BAB: dialog 1@ is_exists |
Memory opcodes
Опкоды для работы с игровой памятьюОпкод | Использование |
---|---|
0b2d | 0B2D: write_samp_memory offset 0@ value 1@ size 2@ |
0b2e | 0B2E: 2@ = read_samp_memory offset 0@ size 1@ |
0c0c | 0C0C: 0@ = struct 1@ offset 0x10 size 4 |
0c0d | 0C0D: struct 1@ offset 0x10 size 4 = 0@ |
0c0e | 0C0E: 0@ = array 1@ element 2@ |
0c0f | 0C0F: array 1@ element 2@ = 0@ |
0c10 | 0C10: memcpy destination 0@ source 1@ size 0x10 |
0c11 | 0C11: memset destination 0@ value 1@ size 0x4 |
0c12 | 0C12: memcmp buffer1 0@ buffer2 1@ size 0x10 |
0c1d | 0C1D: 4@ = array 1@ element 2@ el_size 3@ |
0c1e | 0C1E: array 1@ element 2@ el_size 3@ = 4@ |
0c1f | 0C1F: 4@ = string_array 1@ element 2@ size 3@ |
0c20 | 0C20: string_array 1@ element 2@ size 3@ = 4@ |
Math opcodes
Математические опкодыОпкод | Использование |
---|---|
0c00 | 0C00: math 1@ = abs 0@ |
0c01 | 0C01: math 1@ = radian_to_angle 0@ |
0c02 | 0C02: math 1@ = angle_to_radian 0@ |
0c03 | 0C03: math 1@ = sine 0@ |
0c04 | 0C04: math 1@ = arcsine 0@ |
0c05 | 0C05: math 1@ = cosine 0@ |
0c06 | 0C06: math 1@ = arccosine 0@ |
0c07 | 0C07: math 1@ = tangent 0@ |
0c08 | 0C08: math 1@ = arctangent 0@ |
0c09 | 0C09: math 2@ = power 0@ 1@ |
0c0a | 0C0A: math 1@ = ceil 0@ |
0c0b | 0C0B: math 1@ = floor 0@ |
0c30 | 0C30: math matrix 0@ to_quat 1@ |
0c31 | 0C31: math quat 0@ to_matrix 1@ |
Render opcodes
Опкоды для работы с графической оболочкой(рендером)Опкод | Использование |
---|---|
0b66 | 0B66: render argb 0@ to_a 1@ r 2@ g 3@ b 4@ |
0b67 | 0B67: render a 0@ r 1@ g 2@ b 3@ to_argb 4@ |
0b68 | 0B68: render draw_line_point1 0@ 1@ point2 2@ 3@ width 4@ color 5@ |
0b69 | 0B69: render draw_box_pos 0@ 1@ size 2@ 3@ color 4@ |
0b6a | 0B6A: render draw_box_with_border_pos 0@ 1@ size 2@ 3@ color 4@ border_size 5@ border_color 6@ |
0b6b | 0B6B: render 2@ = font 0@ draw_text "brr" length |
0b6c | 0B6C: render 1@ = font 0@ draw_height |
0b6d | 0B6D: render 3@ = create_font "Arial" height 1@ flags 2@ |
0b6e | 0B6E: render release_font 0@ |
0b6f | 0B6F: render font 0@ draw_text "brr" pos 2@ 3@ color 4@ |
0b70 | 0B70: render draw_polygon_pos 0@ 1@ size 2@ 3@ corners 4@ rotation 5@ color 6@ |
0b71 | 0B71: render 1@ = load_texture_from_file "pic.png" |
0b72 | 0B72: render release_texture 0@ |
0b73 | 0B73: render draw_texture 0@ pos 1@ 2@ size 3@ 4@ rotation 5@ color 6@ |
0c8c | 0C8C: render 2@ = load_texture_from_file_in_memory 0@ size 1@ |
String opcodes
Опкоды для работы со строкамиОпкод | Использование |
---|---|
0c13 | 0C13: strcpy destination 0@ source 1@ |
0c14 | 0C14: strcmp string1 0@ string2 1@ |
0c15 | 0C15: strcat destination 0@ source 1@ |
0c16 | 0C16: 2@ = strtok string1 0@ string2 1@ |
0c17 | 0C17: 1@ = strlen 0@ |
0c18 | 0C18: 2@ = strstr string1 0@ string2 1@ |
0c19 | 0C19: 2@ = strcspn string1 0@ string2 1@ |
0c1a | 0C1A: 1@ = atoi 0@ |
0c1b | 0C1B: 1@ = atof 0@ |
0c1c | 0C1C: 2@ = itoa 0@ radix 1@ |
0c21 | 0C21: stricmp string1 0@ string2 1@ |
0c22 | 0C22: bin 0@ to_hex 1@ size 2@ |
0c23 | 0C23: hex 0@ to_bin 1@ buf_size 2@ |
0c24 | 0C24: strncpy destination 1@ source 2@ size 3@ |
0c25 | 0C25: strncmp string1 1@ string2 2@ size 3@ |
0c26 | 0C26: strupr in 0@ out 1@ |
0c27 | 0C27: strncat destination 0@ source 1@ size 2@ |
0c28 | 0C28: strlwr in 0@ out 1@ |
0c29 | 0C29: 2@ = stristr string1 0@ string2 1@ |
0c2a | 0C2A: 2@ = strchr 0@ char 1@ |
0c2b | 0C2B: 2@ = strpbrk string 0@ control 1@ |
0c2c | 0C2C: 2@ = strrchr 0@ char 1@ |
0c2d | 0C2D: strrev in 0@ out 1@ |
0c2e | 0C2E: 2@ = strspn string1 0@ string2 "abr cad ф" |
0c2f | 0C2F: 3@ = strtol 0@ radix 1@ store_end_to 2@ |
0c3a | 0C3A: 1@ = string "text" pointer |