SHARE
TWEET

Everybody Edits - Smiley reading

capasha Apr 23rd, 2017 (edited) 72 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. // Free smileys: 35
  2.  
  3. "getProfileObject"
  4.     line 6 = old beta
  5.     line 8 = gold member which is 4 smileys
  6. //From payvault                      
  7. if (client1.PayVault.Has("pro") || oldBeta)
  8. {
  9.     incSmileys += 6;
  10. }
  11. if (client1.PayVault.Has("bricknode"))
  12. {
  13.     incSmileys += 1;
  14. }
  15. if (client1.PayVault.Has("brickdrums"))
  16. {
  17.     incSmileys += 1;
  18. }
  19. if (client1.PayVault.Has("brickvalentines2015"))
  20. {
  21.     incSmileys += 1;
  22. }
  23. if (client1.PayVault.Has("mixednewyear2010"))
  24. {
  25.     incSmileys += 1;
  26. }
  27. for (int i = 0; i < client1.PayVault.Items.Length; i++)
  28. {
  29.     if (client1.PayVault.Items[i].ItemKey.StartsWith("smiley"))
  30.     {
  31.       incSmileys += 1;
  32.     }
  33. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top