Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- NPC_FILE_VERSION = 0x03E8;
- NPC_RECORD_TYPE_INVEHICLE = 0x0001;
- NPC_RECORD_TYPE_ONFOOT = 0x0002;
- * File NPC structure
- 4 bytes - File version
- 4 bytes - Record type
- * Record Type in vehicle
- 2 bytes - Vehicle id
- 2 bytes - Left right keys
- 2 bytes - Up down keys
- 2 bytes - Keys
- Quaternion - Vehicle rotation
- 12 bytes - Vehicle position
- 12 bytes - Vehicle velocity
- 4 bytes - Vehicle health
- 1 byte - Player Health
- 1 byte - Player Armor
- 1 byte - Player Weapon
- 1 byte - Vehicle siren type
- 1 byte - Vehicle gear state
- 2 bytes - Vehicle trailer id
- 4 bytes - Time at first writing sub this time
- * Record type on foot
- 2 bytes - Left right keys
- 2 bytes - Up down keys
- 2 bytes - Keys
- 12 bytes - Position
- Quaternion - Rotation
- 1 byte - Health
- 1 byte - Armor
- 1 byte - Weapon
- 1 byte - Special action
- 12 bytes - Velocity
- 12 bytes - Surfing offsets
- 2 bytes - Surfing ID (0 - 1999 for vehicles, 2000 - 2399 for objects)
- 4 bytes - Animation index
- 4 bytes - Time at first writing sub this time
- Written by Sasuke78200 a.k.a Ssk.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement