Raised This Month: $ Target: $400
 0% 

[TF2]Realistic/Campaign mod for TF2 - almost done


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Drixevel
AlliedModders Donor
Join Date: Sep 2009
Location: Somewhere headbangin'
Old 10-21-2020 , 01:53   Re: [TF2]Realistic/Campaign mod for TF2 - almost done
Reply With Quote #6

Quote:
Originally Posted by cellercelleriac View Post
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");
Drixevel is offline
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 05:45.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode