Guest User

Untitled

a guest
Sep 15th, 2018
103
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.45 KB | None | 0 0
  1. #pragma once
  2. //#define RandomInt(nMin, nMax) (rand() % (nMax - nMin + 1) + nMin);
  3. #include <unordered_map>
  4. extern RecvVarProxyFn oRecvnModelIndex;
  5. extern RecvVarProxyFn oRecvProxySequence;
  6.  
  7. class CSkinchanger
  8. {
  9. public:
  10. void KnifeEventFire(IGameEvent* event);
  11. void CreateMove();
  12. void ForceItemUpdates();
  13. void UpdateModels();
  14. private:
  15. void GloveChanger(player_info_t pInfo);
  16. bool ApplyCustomSkin(CBaseAttributableItem* attrib_item, player_info_t pInfo);
  17. void ApplyStickerHooks(CBaseAttributableItem* attrib_item);
  18. int GetModelByIndex(int item_def_index);
  19. int GetGloveModelIndexByMenu(int gloveIndexinmenu);
  20. public:
  21. struct
  22. {
  23. int knife_default_ct = NULL;
  24. int knife_default_t = NULL;
  25. int knife_karam = NULL;
  26. int knife_bayonet = NULL;
  27. int knife_m9_bay = NULL;
  28. int knife_tactical = NULL;
  29. int knife_gut = NULL;
  30. int knife_falchion_advanced = NULL;
  31. int knife_push = NULL;
  32. int knife_butterfly = NULL;
  33. int knife_flip = NULL;
  34. int knife_survival_bowie = NULL;
  35. }Knifes;
  36. struct
  37. {
  38. int glove_bloodhound = NULL;
  39. int glove_sporty = NULL;
  40. int glove_slick = NULL;
  41. int glove_handwrap_leathery = NULL;
  42. int glove_motorcycle = NULL;
  43. int glove_specialist = NULL;
  44. int glove_hydra = NULL;
  45. }Gloves;
  46. };
  47. extern void ViewModel_Index_Proxy(CRecvProxyData *pDataConst, void *pStruct, void *pOut);
  48. extern void RecvProxy_Sequence(CRecvProxyData* pDataConst, void* pStruct, void* pOut);
  49. extern CSkinchanger* g_Skinchanger;
Add Comment
Please, Sign In to add comment