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) => CreatePed((int)model, position, pedtype);