Raised This Month: $ Target: $400
 0% 

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


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
cellercelleriac
Junior Member
Join Date: Oct 2020
Location: Jardín
Old 10-20-2020 , 17:58   Re: [TF2]Realistic/Campaign mod for TF2 - almost done
Reply With Quote #5

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..
__________________
English is my native language not
cellercelleriac 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