Ped¶
From server.createPed(), events, server.peds. The nearest player's game
runs its AI; the server checks what it reports.
id, model |
|
exists |
False once destroyed. |
data |
Your own state. |
position, heading |
As its owner last reported. |
health, armour, weapon, dead |
|
world |
|
owner |
The player whose game simulates it, or null. |
ambient |
Part of the ambient population. |
vehicle, seat |
Where it sits, or null. |
putInVehicle(vehicle, seat?) |
0 driver (default). A "wander" driver drives around. |
removeFromVehicle() |
|
destroy() |