 |
|
AlliedModders Donor
Join Date: Sep 2009
Location: Somewhere headbangin'
|

10-21-2020
, 01:53
Re: [TF2]Realistic/Campaign mod for TF2 - almost done
|
#6
|
Quote:
Originally Posted by cellercelleriac
Ok, I managed to get it working. I had completely misunderstood how these stocks work, this is easier to use than I thought  .
However putting in more than one attribute doesn´t work for me. How do you do that?
Code:
TF2_RemoveWeaponSlot(client, 0);
TF2_GiveItem(client, "tf_weapon_scattergun", 45, TF2Quality_Normal, 100, "'2 ; 5' '44 ; 0'"); //compiled, but script cowardly refused
//to add invalid attribute index 0 (in game, after spawn)
//(both attributes alone work though)
I think I should have better posted this in Scripting.. 
|
Code:
TF2_GiveItem(client, "tf_weapon_scattergun", 45, TF2Quality_Normal, 100, "2 ; 5 ; 44 ; 0");
|
|
|
|