Пример #1
0
        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();
        }
Пример #2
0
        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();
        }
Пример #3
0
 public static Ped CreatePed(PedID model, Vector3 position, int pedtype)
 {
     return(CreatePed((int)model, position, pedtype));
 }
Пример #4
0
 public static Ped CreatePed(PedID model, Vector3 position, int pedtype)
 {
     return CreatePed((int)model, position, pedtype);
 }