指定の球内のキャラ(ゾーンで指定されているペッドグループ内のみ)
$100:人
$300:乗り物
$500:物
人の位置
00A0: get_char $100 position_3D_coord_to $2755 $2756 $2757
乗り物の位置
00AA: get_vehicle $300 position_3D_coord_to $255 $256 $257
時間(時間、分)
00BF: $TIME_HOURS = current_time_hours, $TIME_MINS = current_time_minutes
指定時間からの経過時間?
00C1: get_minutes_left_to_time_hours 20 time_minutes 0 store_to @26
人が乗っている乗り物
00D9: get_char $100 vehicle_to $300
所持金
010B: get_player $PLAYER money_to @10
人が向いてる方向
0172: get_char $100 Z_angle_to $72
車の向いている方向
0174: get_vehicle $300 Z_angle_to $72
オブジェクトの向いている方向
0176: get_object $500 Z_angle_to $72
オブジェクトの位置
01BB: get_object $500 position_3D_coord_to $73 $74 $75
時間
01BD: get_current_time_to $10 ;int ms
手配レベル
01C0: get_player $PLAYER wanted_level_to @50
乗客数
01E9: get_vehicle $300 present_number_of_passengers_to @43
最大乗客数
01EA: get_vehicle $300 maximum_number_of_passengers_to @160
ランダム値(小数)
0208: generate_random_float_in_range 0.0 to 1.0 store_to @149
ランダム値(整数)
0209: generate_random_int_in_range 0 to 10 store_to @17
人の体力
0226: get_char $100 health_to @180
乗り物の体力
0227: get_vehicle $300 health_to $262
地面の高さ
Z座標より下の一番近い地面の高さが$257に代入される
02CE: get_ground_Z_for_3D_coord $255 $256 50.0 store_to $257
乗り物のスピード
02E3: get_vehicle $300 speed_to $250
カットシーンの長さ?
02E8: get_cutscenetime_to $129
乗り物の方向?サイン変換?
02F8: get_vehicle $300 Z_angle_sine_to @120
?
0327: get_vehicle_within_rectangle_cornerA_at_2D_coord $111 $112 cornerB_at_2D_coord $114 $CUTSCENE_PLAYER with_modelID -1 handle_as $48 ;out np create
人が乗ってる乗り物
03C0: get_char $100 vehicle_handle_to $300
乗り物の色
03F3: get_vehicle $300 colorA_to @90 colorB_to @91
座標(オブジェクトの位置、オフセットつき)
0400: get_object $2728 position_3D_coord_with_offset 0.0 -2.185 8.51 store_to $73 $74 $75
座標(乗り物の位置、オフセットつき)
0407: get_vehicle $198 position_3D_coord_with_offset 0.0 1.0 -.5 store_to $280 $281 $284
武器の弾数
041A: get_char $SCPLAYER weapon 18 ammo_to @218
客席に乗っている人?
0432: get_vehicle $300 passenger_from_passenger_seat 0 handle_as @81
乗り物のモデルID
0441: get_vehicle $300 modelID_to @1
運転している人
046C: get_vehicle $300 driver_handle_to $100
人が座っている乗り物の席の場所(運転席・客席)
046D: get_char $100 vehicle_number_of_seats @55
装備している武器
0470: get_char $100 current_weapon_to @43
CJが操縦しているラジコン
0484: get_player $PLAYER rc_vehicle_handle_as $300
アナログスティック
0494: get_joystick 0 data_X1_Y1_X2_Y2_to $17 $18 $19 $20 ;integer
人の大体の座標?
04A5: get_char $100 approximate_position_3D_coord_to $73 $74 $75
武器データ
種類、弾、モデル
04B8: get_weapon_data_from_char $SCPLAYER weapon_group 2 weapon @220 ammo @230 model @230
座標(キャラの位置、オフセットつき)
04C4: get_char $100 position_3D_coord_with_offset 0.0 .8 .1 store_to $681 $682 $683
?
04D3: get_nearest_vehicle_path_coordinates_from_3D_coord $69 $70 $71 type 2 store_to @88 @89 @90
アーマー
04DD: get_char $SCPLAYER armour_to $9594
片輪走行、ウイリー、ジャックナイフの記録
04FC: store_stunt_data $PLAYER two_wheels_to $1319 $1323 wheelie_to $1326 $1330 stoppie_to $1333 $1337
二点間の距離
0509: get_distance_between_2D_coord 1010.673 1487.184 and_2D_coord $73 $74 store_to $68
二点間の距離 (高さも)
050A: get_distance_between_3D_coord $73 $74 $75 and_3D_coord $8809 $8810 $8811 store_to @8
最大手配レベル
050F: get_max_wanted_level_to @287
現在のラジオ局
051E: get_current_radio_station_to @196
指定範囲内にいるモデルIDで指定した車種の車
053E: get_vehicle_within_rectangle_cornerA_at_2D_coord $10864($1884,4f) $10868($1884,4f) cornerB_at_2D_coord $10872($1884,4f) $10876($1884,4f) with_modelID -1 handle_as $300 ;out
ゲーム達成度
058C: get_percentage_completed_to $PERCENT_COMPLETED
オブジェクトのXYZそれぞれの方向の速度
059F: get_object $500 velocity_in_direction_XYZ @2 @3 @4 ;float world hi
オブジェクトのXYZそれぞれの方向の回転速度
05A6: get_object $500 rotation_velocity_about_an_axis_XYZ @5 @6 @7 through_center_of_body ;float object hi
オブジェクトの速度
05A8: get_object $500 speed_to @182 ;float
アークタンジェント
0604: get_point $73 $74 angle_to @9
アニメーションの進行度?
0613: get_char $100 animation "SHP_TRAY_RETURN" progress_to $10052
アニメーションの長さ
061A: get_char $SCPLAYER animation "LAPDAN_P" total_time_to @23 ;float ms
ステータス (整数)
0652: get_stat 21 (fat) store_to @57 ; integer
ステータス (小数)
0653: get_stat 23 (muscle) store_to @59 ; float
拾えるオブジェクトの位置
065B: get_pickup $500 position_3D_coord_to $73 $74 $75
人のモデルID
0665: get_char $100 modelID_to @13
カメラのポジション
068D: store_camera_position_3D_coord_to $69 $70 $71
カメラのターゲットポジション?
068E: store_camera_target_point_3D_coord_to @44 @45 @46
車のXYZそれぞれの方向の速度
06A2: get_vehicle $300 velocity_in_direction_XYZ @50 @51 @52 ;float world hi
乗り物の重量
06A3: get_vehicle $300 mass_to @46
人の速度
06AC: get_char $SCPLAYER movement_speed_to $73
乗り物のアングル?
06BE: get_vehicle $300 Y_angle_to @36
火?
06C3: get_number_of_fires_within_sphere_with_center_at_3D_coord @289 @291 @293 radius 3.0 store_to @214
電車
06DE: get_train @129 vehicle_handle_as @163
乗り物の色の番号?
06EC: get_vehicle $TF_VEHID number_of_color_indices_to $TF_VEH_NO_OF_COLOR_INDICES
火の場所
06F5: get_fire @142 position_to_3D_coord @290 @292 @294
オブジェクトのエネルギー?
071E: get_object $500 energy_to @50 ;integer
指定地内の特定の乗り物
073E: get_vehicle_within_sphere_with_center_at_3D_coord -1577.942 52.6333 16.3281 radius 30.0 with_modelID 459 handle_as $300 ;in npc
ゾーンがどの富裕層か
076B: get_zone 'VERO4B' wealth_to @16
ゾーンのギャングの出現率
076D: get_zone 'GLN1' controlled_by_gang 1 density_to @74
乗り物のXアングル
077D: get_vehicle $300 X_angle_to $7513
現在のインテリア
077E: get_active_interior_to $10930
火?
0786: get_number_of_fires_within_cube_cornerA_at_3D_coord -1471.0 484.0 0.0 cornerB_at_3D_coord -1246.0 523.0 40.0 store_to @50
マグネットについている人・乗り物・オブジェクト
078B: get_helicopter $300 magnet_attached_vehicle_handle_as @126 char_handle_as @127 object_handle_as @128
クレーンのマグネット?
0796: get_crane_magnet $2729 magnet_lane_lenght_to $10496 ;float
クレーンのマグネット?
0798: get_crane_magnet $2729 attached_vehicle_handle_as @17 attached_char_handle_as @18 attached_object_handle_as @19
近くにあるタグの座標
07A6: get_nearest_tag_location_near_3D_coord 2100.84 -1648.71 12.42 store_to_3D_coord @78 @79 @80
CJのいるグループ
07AF: get_player $PLAYER group_to $PLAYER_GROUP
現在のインテリアの名前
07B0: get_active_interior8b_name_to s$706 ;; 8-byte strings, global
日
07D0: get_weekday_to @3
?
07E4: get_modelID -172 dimensions_cornerA_to $73 $74 $75 dimensions_cornerB_to $73 $74 $75
指定地の街の番号?
07EF: get_town_number_from_3D_coord @83 @84 @85 store_to @58
グループのリーダー?
07F6: get_group $PLAYER_GROUP number_of_leaders_to @6 number_of_members_to @7
カメラの焦点長
0801: get_camera_zoom_factor_to @146 ;float
?
0806: get_player $PLAYER kills_from_last_checkpoint @0
オブジェクトの位置?
080A: get_object $500 spoot 0 store_3D_coord_to $73 $74 $75
イベント?
080E: get_char $100 ped_event_to $7313 ;int
指定の立方体内から駐車場の座標
0810: get_from_cube_cornerA_at_3D_coord $10808($1884,4f) $10816($1884,4f) $10824($1884,4f) cornerB_at_3D_coord $10812($1884,4f) $10820($1884,4f) $10828($1884,4f) get_random_parkplace_3D_coord_to @21 @22 @23
人がのっている乗り物
03C0と一緒?
0811: get_char $SCPLAYER vehicle_handle_to $300 ;safe method
キャラの地面からの高さ
0819: get_char $SCPLAYER distance_from_ground_to $7890
ゲーム内の曜日?
0835: get_day_in_game_time_to $5345 unknown_get $5346
オブジェクトのアニメーションの進行度
0839: get_object $500 animation v$9677 progress_to $9658
キャラのXYZそれぞれの方向の速度
083D: get_char $100 velocity_in_direction_XYZ $73 $74 $75 ;float world hi
?
083F: get_vehicle @35 vertical_deviation_to $7522
CJのいる街の番号
0842: get_player $PLAYER town_number_to $1866
指定地のゾーンの名前
0843: get_zone_name_string_from_3D_coord @146 @147 @148 handle_as s$8216 ;; 8-byte strings
指定地のノイズレベル?
0855: get_noise_level $1792 at_coordinates @63 @64 @65 unknown -1
指定の球内のオブジェクト
0866: get_object_within_sphere_with_center_at @63 @64 @65 radius 5.0 handle_as @49
キャラの体の中心の座標
0889: get_char $100 center_of_body_position_3D_coord_to $73 $74 $75 ;when onscreen otherwise same as 00A0 04C4
指定の球内のキャラ(ゾーンで指定されているペッドグループ内のみ)
089E: get_zone_pedgroup_ped_in_sphere_with_center_at_3D_coord @3 @4 @5 radius 5.0 handle_as @11
人のタイプ
089F: get_char $100 ped_type @13
?
08D3: get_present_zone_popcycle_group_for_peds_and_vehicles_to @26
パネルの選択項目
08D7: get_panel $8759 active_row_to $8764
パネルの選択した項目
08D8: get_panel $9871 selected_row_to $9872
タグを塗りつぶした数
08E1: get_number_of_tags_sprayed_to $TAGS_PAINTED
支配下にあるテリトリーの数
08E2: get_number_of_territories_under_controll_to $GANG_TURF_CONTROLLED
指定の球内のキャラ
08E5: get_spawned_char_within_sphere_center_at_3D_coord @11 @12 @13 radius 20.0 handle_as @0
乗り物のタイプ
08EC: get_vehicle $300 type_to $49
指定地のゾーンの名前
08F1: get_zone_string s$404 from_coordinates @4 @7 @10
着ている服?
08F7: get_player $PLAYER shopping_item_type 0 itemID_to $2542 model_to $2543
色?
0904: get_color 0 RGB_mask_to $9201 $9202 $9203 alpha_to $9204
オブジェクトの質量
0907: get_object $500 mass_to @118 ;float
?
091C: get_scripted_char_within_sphere_with_center_at_3D_coord $73 $74 $75 radius 1.5 SCobjectID #KB_BANDIT_U handled_by_script_named "PEDSLOT" handle_as @16
飛行機の着陸?
091F: get_airplane $300 landing_gear_status @71
スクリプトの状態
0926: get_external_script_status 24 (GF_MEETING) store_to @3
グループ?
092B: get_group $PLAYER_GROUP member @6 store_to @8
水?
092E: get_water_Z_for_2D_coord @195 @196 flag 0 store_to @200
CJの最大アーマー値
0945: get_player $PLAYER max_armour_to $9595
人が今いるインテリアの名前
094B: get_active_interior16b_name_from_char $SCPLAYER store_to v$5311 ;; 16-byte strings
サウンドトラックの状態
0953: get_soundtrack_status_to @0
リスペクト
0956: get_respect_to $47
泳いでいる状態?
0966: get_char $SCPLAYER swimming_status_to @285
改造?
096D: get_vehicle $TF_VEHID mod_slot $10399($TF_PANEL_ACT_ROW,12i) built_in_itemID_to $TF_VEH_MOD_BUILT
現在のペイントジョブ
097D: get_vehicle $300 number_of_possible_paint_jobs_to $TF_VEH_NO_OF_PAINTJOBS
オブジェクトのモデルID
0984: get_object @0 modelID_to @13
?
0985: set_objects_within_sphere_with_center_at_3D_coord 2816.857 -1169.075 1028.172 radius 4.0 with_SCmodelID -150 solid 0 for_char @99
ペイントジョブ
0988: get_vehicle $TF_VEHID paintjob $10085
特別な部品のアングル
098D: get_vehicle $300 extra_parts_angle_to $7936
服?
09A9: get_shopping_item_with_texturename "BASKBALLLOC" itemID_to $10031 ;; 16-byte strings
?
09B2: get_random_available_vehicle_type 1 modelID_to @102 dorlock_to @103
ドアのロックの状態(020Aの値取得?)
09B3: get_vehicle $100 door_status_to $TF_VEH_DOORLOCK
指定の長方形内での指定のモデルIDの車種の車
09C0: get_vehicle_within_rectangle_cornerL_at_2D_coord @79 @81 cornerR_at_2D_coord @80 @82 height 1.0 with_modelID -1 handle_as @37 ;out
乗り物の値段
09E1: get_modelID @6 price_to @29 ;vehicles only
インテリア
09E8: get_char $SCPLAYER active_interior_to $720
乗車時のカメラモード
0A39: get_vehicle_camera_mode_to @60
ジョイスティック?
0A4A: store_joystick_offset_to @201 @202
最も近いパスの座標
02C1: get_nearest_vehicle_path_coordinates_from_3D_coord $73 $74 $75 store_to $73 $74 $75
MAP上で指定したマーカーの座標
0AB6: store_target_marker_coords_to 0@ 1@ 2@