Exemplo n.º 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();
        }
Exemplo n.º 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();
        }
Exemplo n.º 3
0
 public static Ped CreatePed(PedID model, Vector3 position, int pedtype)
 {
     return(CreatePed((int)model, position, pedtype));
 }
Exemplo n.º 4
0
 public static Ped CreatePed(PedID model, Vector3 position, int pedtype)
 {
     return CreatePed((int)model, position, pedtype);
 }