Advertisement
Guest User

Untitled

a guest
Mar 24th, 2018
182
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.67 KB | None | 0 0
  1. 1. change
  2. Code:
  3. void AddItem(CMsgSOCacheSubscribed::SubscribedType* Object, int index, int itemDefIndex, int rarity, int paintKit, int seed, float wear, std::string name)
  4. to
  5.  
  6. Code:
  7. void AddItem(CMsgSOCacheSubscribed::SubscribedType* Object, int index, int itemDefIndex, int rarity, int paintKit, int seed, float wear, std::string name, int quality)
  8. and
  9.  
  10. Code:
  11. Skin.set_quality(0);
  12. to
  13.  
  14. Code:
  15. Skin.set_quality(quality);
  16.  
  17.  
  18. 2. and then add it to the AddItem, example here;
  19.  
  20. Code:
  21. AddItem(Object, 1, WEAPON_KNIFE_M9_BAYONET, 6, 415, 3, 0.014229776299923f, "", 3);
  22. the ", 3)" at the end
  23.  
  24. 4 for regular items, 3 for the star on knives, 12 for souvenir, and 9 for StatTrak.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement