1. Is there good method of changing? I've tried to do this way:
    Code:
    baseplayer.GetActiveItem().skin = skins[choice].id; // skins is ItemSkinDirectory.Skin[]
    If it's correct, I suppose I get current item by a value, so there are no changes. Still, is there way of getting valid reference to the currect item?
     
    Last edited by a moderator: Nov 30, 2015
  2. I've viewed that. It changes a skin while crafting, that doesn't suit me. My plugin does (not for now :) ) what do plugins for Counter-Strike servers, for instance. I mean, an user enters to the chat a command, selects a skin and the weapon instantly switches its skin.
     
  3. Then you will have to take the active item of the player and put a new one to this slot.
     
  4. Heh, ur doing the same plugin i've been trying to get done.

    The main issue with the Skin Randomizer is the fact it gives everyone any skin available, regardless of being on hes account or not, removing the whole point of buying them (dont forget skins are bought or dropped and that plugin is stepping on a rather greyzone). master_clown is doing a plugin that only exchanges skins available to the player.