SharpMod.Entity.Use C# (CSharp) Method

Use() public method

public Use ( Entity entity ) : void
entity Entity
return void
        public void Use(Entity entity)
        {
            MetaModEngine.dllapiFunctions.Use(this.Pointer, entity.Pointer);
        }

Usage Example

Beispiel #1
0
        public void StripUserWeapons()
        {
            Entity strip = new Entity("player_weaponstrip");

            strip.Spawn();
            strip.Use(this);
            strip.Remove();

            // TODO: set active weapon to 0
        }
All Usage Examples Of SharpMod.Entity::Use