gta.createCivilian

Revision as of 00:20, 11 December 2019 by Mex (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

gta.createCivilian

Signature: Civilian A handle to the civilian that was created. gta.createCivilian(int model, [ int pedType = -1 ])

Usage: create a civilian

Parameters

int model The model ID for the civilian.
int pedType optional –1 The ped type for the civilian.

Return

Civilian A handle to the civilian that was created.

On failure: null n/a