-
Notifications
You must be signed in to change notification settings - Fork 6
Packet List
Parameters: UINT8 Packet_ID, UINT16 vehicle_id, UINT16 lrkey, UINT16 udkey, UINT16 keys, float quat_w, float quat_x, float quat_y, float quat_z, float X, float Y, float Z, float velocity_x, float velocity_y, float velocity_z, float vehicle_health, UINT8 player_health, UINT8 player_armour, 2_BITS additional_key, 6_BITS weapon_id, UINT8 siren_state, UINT8 landing_gear_state, UIN16 trailer_id, float train_speed
Additional Information: train_speed has different data depending on vehicle model.
It can contain following values in its 32 bits:
- FLOAT train speed for trains
- FLOAT bike incline for bikes
- UINT16 + UINT16 Hydra thrust angle
Parameters: UINT8 Packet_ID, UINT32 text_length, char[] cmd_text
Parameters: UINT8 Packet_ID, UINT8 cam_mode, float cam_front_vec_x, float cam_front_vec_y, float cam_front_vec_z, float cam_pos_x, float cam_pos_y, float cam_pos_z, float aim_z, 2_BITS weapon_state, 6_BITS cam_zoom, UINT8 aspect_ratio
Parameters: UINT8 Packet_ID, UINT16 target_player, UINT16 target_actor, UINT8 slot_0, UINT8 weapon_0, UINT16 ammo_0, UINT8 slot_1, UINT8 weapon_1, UINT16 ammo_1, UINT8 slot_2, UINT8 weapon_2, UINT16 ammo_2, UINT8 slot_3, UINT8 weapon_3, UINT16 ammo_3, UINT8 slot_4, UINT8 weapon_4, UINT16 ammo_4, UINT8 slot_5, UINT8 weapon_5, UINT16 ammo_5, UINT8 slot_6, UINT8 weapon_6, UINT16 ammo_6, UINT8 slot_7, UINT8 weapon_7, UINT16 ammo_7, UINT8 slot_8, UINT8 weapon_8, UINT16 ammo_8, UINT8 slot_9, UINT8 weapon_9, UINT16 ammo_9, UINT8 slot_10, UINT8 weapon_10, UINT16 ammo_10, UINT8 slot_11, UINT8 weapon_11, UINT16 ammo_11
Parameters: UINT8 Packet_ID, INT32 money, INT32 drunk_level
Parameters: UINT8 Packet_ID, UINT8 hit_type, UINT16 hit_id, float origin_x, float origin_y, float origin_z, float hit_pos_x, float hit_pos_y, float hit_pos_z, float offset_x, float offset_y, float offset_z, UINT8 weapon_id
Parameters: UINT8 Packet_ID, UINT16 lrKey, UINT16 udKey, UINT16 keys, float X, float Y, float Z, float quat_w, float quat_x, float quat_y, float quat_z, UINT8 health, UINT8 armour, 2_BITS additional_key, 6_BITS weapon_id, UINT8 special_action, float velocity_x, float velocity_y, float velocity_z, float surfing_offsets_x, float surfing_offsets_y, float surfing_offsets_z, UINT16 surfing_vehicle_id, INT16 animation_id, INT16 animation_flags
Parameters: UINT8 Packet_ID, UINT16 vehicle_id, UINT8 seat_id, float roll_x, float roll_y, float roll_z, float direction_x, float direction_y, float direction_z, float X, float Y, float Z, float angular_velocity_x, float angular_velocity_y, float angular_velocity_z, float vehicle_health
Parameters: UINT8 Packet_ID, UINT16 trailer_id, float X, float Y, float Z, float quat_x, float quat_y, float quat_z, float velocity_x, float velocity_y, float velocity_z, float angular_velocity_x, float angular_velocity_y, float angular_velocity_z
Parameters: UINT8 Packet_ID, UINT16 vehicle_id, 2_BITS drive_by, 6_BITS seat_id, 2_BITS additional_key, 6_BITS weapon_id, UINT8 health, UINT8 armour, UINT16 lrkey, UINT16 udkey, UINT16 keys, float X, float Y, float Z
Parameters: UINT8 Packet_ID, UINT16 lrkey, UINT16 udkey, UINT16 keys, float X, float Y, float Z
Parameters: UINT8 Packet_ID, UINT32 players_count, UINT16 player_id, bool stream_marker, INT16 X, INT16 Y, INT16 Z
Additional Information:
- Number of players which are passed in this packet is determined by players_count.
- X, Y and Z are only passed if stream_marker is true.
-
RPC List
- Outgoing RPCs
-
Incoming RPCs
- Enter Vehicle
- Exit Vehicle
- Vehicle Damaged
- Scm Event
- Vehicle Destroyed
- Send Spawn
- Chat Message
- Interior Change Notification
- Death Notification
- Send Command
- Dialog Response
- Client Check Response
- Give/Take Damage
- Give Actor Damage
- Map Marker
- Request Class
- Request Spawn
- Menu Select
- Menu Quit
- Select TextDraw
- Picked Up PickUp
- Select Object
- Edit Attached Object
- Edit Object
- Update Scores and Pings
- Client Join
- NPC Join
- Camera Target