natives.createChar: Difference between revisions

no edit summary
(Created page with "{{ScriptItem |endpoint = client |games = iv |type = function |name = natives.createChar |parameters = int pedType, int modelHash, Vec3 position, bool networked |parameter1 = int pedType The ped type (see Ped Defines) |parameter2 = int modelHash The model hash |parameter3 = Vec3 position The spawn position |parameter4 = bool networked Whether the ped is networked |usage = Create a ped |return1 = Ped |returnFail1 = void |exampleJS = addC...")
 
No edit summary
 
Line 10: Line 10:
|parameter4 = bool networked Whether the ped is networked
|parameter4 = bool networked Whether the ped is networked
|usage = Create a ped
|usage = Create a ped
|return1 = Ped
|return1 = void
|returnFail1 = void
|exampleJS = addCommandHandler("spawnped", function(command, params, client) {
|exampleJS = addCommandHandler("spawnped", function(command, params, client) {
     const hash = natives.getHashKey("M_Y_COP");
     const hash = natives.getHashKey("M_Y_COP");
53

edits