• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Help PlayerModel
#1
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");

            }
  Reply
#2
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;
}
[Image: b_560_95_1.png]


[Image: b_560_95_1.png]

  Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)