Advertisement
Guest User

Untitled

a guest
Apr 25th, 2018
69
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.54 KB | None | 0 0
  1. class CGameRules
  2. {
  3. public:
  4. bool IsValveDS() { return true; }
  5. };
  6. CGameRules* pGameRules;
  7.  
  8. class CEvent
  9. {
  10. std::string strName;
  11. public:
  12. std::string GetName() { return strName; }
  13. };
  14.  
  15. CEvent* pEvent;
  16.  
  17. bool bAutoCrash = true;
  18. if ((pGameRules->IsValveDS() && bAutoCrash && strcmp(pEvent->GetName().c_str(), "cs_win_panel_match") == 0))
  19. {
  20. //removed for antipaste
  21. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement