ItsMods

Full Version: PlayerModel
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
When I say! 1st became weapons but I can not be killed! but when I take a model body that can kill me how to fix it?
Code:
if (Message == "!1")
            {
                // give ak 47 as test

                Client.Other.SetPlayerModel("weapon_mp5_iw5_blue");
            
            }
if (Message == "!4")
            {
                // give ak 47 as test

                Client.Other.SetPlayerModel("mp_body_opforce_russian_urban_sniper");

            }
or use a different camo 0-11, the reason you cant be killed is because there is no such model as you have described so will return FX error. Also that player model wont work on all maps.

if (Message == "!1")

{
int WepID = GetWeapon("iw5_ak47_mp_reflex_camo01");
Client.Other.PrimaryWeapon = WepID;
Client.Other.CurrentWeapon = WepID;
Client.Ammo.PrimaryAmmoClip = 140;
Client.Ammo.PrimaryAmmo = 50;

}

return ChatType.ChatNone;
}