IS CPR
From LFS Manual
Jump to navigationJump to searchIntroduction
The Connection Player Rename packet is sent by LFS when a player changes their name or number plate.
| Type | Name | Description |
|---|---|---|
| byte | Size | 36 |
| byte | Type | ISP_CPR |
| byte | ReqI | 0 |
| byte | UCID | unique id of the connection |
| char | PName[24] | new name |
| char | Plate[8] | number plate - NO ZERO AT END! |
Packet Details
Size
The size of the packet is always 36 bytes.
Type
The packet type from the ISP_ enumeration, always ISP_CPR.
ReqI
ReqI is always equal to zero.
UCID
The connection's unique ID.
PName
The new name for the player.
Plate
The new number plate. Note that there is no 0 byte at the end, all 8 bytes are used.