public static void SpawnPed(PedID pedID) { var position = my.Player.Character.Position.Around(5); var ped = World.CreatePed(pedID, position, 24); ped.Tasks.Wander(); ped.NoLongerNeeded(); }
public static Ped CreatePed(PedID model, Vector3 position, int pedtype) { return(CreatePed((int)model, position, pedtype)); }
public static Ped CreatePed(PedID model, Vector3 position, int pedtype) { return CreatePed((int)model, position, pedtype); }