Ped CREATE_PED(int pedType, Hash modelHash, float x, float y, float z, float heading, BOOL isNetwork, BOOL bScriptHostPed);
Unused. Peds get set to CIVMALE/CIVFEMALE/etc. no matter the value specified.
The model of ped to spawn.
Spawn coordinate X component.
Spawn coordinate Y component.
Spawn coordinate Z component.
Heading to face towards, in degrees.
Whether to create a network object for the ped. If false, the ped exists only locally.
Whether to register the ped as pinned to the script host in the R* network model.
A script handle (fwScriptGuid index) for the ped, or
0 if the ped failed to be created.
Creates a ped (biped character, pedestrian, actor) with the specified model at the specified position and heading.
This ped will initially be owned by the creating script as a mission entity, and the model should be loaded already
(e.g. using REQUEST_MODEL).