Want to improve the docs? Take a look at scripting-api-data!
Found a bug? jc3mp/bugs is a good place to let us know.
Network Player
| Name | Type | Description |
|---|---|---|
| networkId | number | read only the network id of this entity. It is not unique across different entities and will be re-assigned once this entity was destroyed |
| name | string | read only the NetworkPlayer's name |
| health | number | read only the NetworkPlayer's current health |
| maxHealth | number | read only the NetworkPlayer's max health |
| localPlayer | boolean | deprecated read only |
| position | Vector3f | read only the NetworkPlayer's position in the game world |
| rotation | Vector3f | read only the NetworkPlayer's rotation in the game world |
| playerStateBits1 | number | read only |
| playerStateBits2 | number | read only |
returns: Matrix
| Name | Type | Description |
|---|---|---|
| p1 | number | |
| p2 | number |
returns: Matrix
| Name | Type | Description |
|---|---|---|
| p1 | number |
By becoming the newest member of our growing forums, we and hundreds of other players will always keep you up to date on everything JC3:MP related.