createPed | Multi Theft Auto: Wiki Skip to content

createPed

Client-side
Server-side
Shared

This page is incomplete! Help wanted!

Please finish this page using the corresponding Old Wiki article.
Go to Contribution guidelines for more information.


Creates a Ped in the GTA world.

Syntax

createPed ( )

Code Examples

server

This example creates an ped when the resource starts:

function pedLoad ( name )
createPed ( 120, 5540.6654, 1020.55122, 1240.545 )
end
addEventHandler ( "onResourceStart", getResourceRootElement(), pedLoad )

Issues

ID Description
375 Sync distance of unoccupied vehicles and peds should match stream distance
605 Ped fireing Projectiles doesn't work
492 Peds shooting incorrectly

See Also