Advertisement
Guest User

Untitled

a guest
May 22nd, 2018
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 1.24 KB | None | 0 0
  1.     if (strcmp(pTexture->m_strTexFileName, "Item\\Itm_SysSysScrLevelDown01.dds") == 0)
  2.         CantUse = TRUE;
  3.  
  4.     if (strcmp(pTexture->m_strTexFileName, "Item\\Itm_SysSysScrLevelDown02.dds") == 0)
  5.         CantUse = TRUE;
  6.  
  7.     if (strcmp(pTexture->m_strTexFileName, "Item\\Itm_SysSysScrAwake.dds") == 0)
  8.         CantUse = TRUE;
  9.  
  10.     if (strcmp(pTexture->m_strTexFileName, "Item\\Itm_SysSysScrAwakeCancel.dds") == 0)
  11.         CantUse = TRUE;
  12.  
  13.     if (strcmp(pTexture->m_strTexFileName, "Item\\Itm_SysSysScrBlessedness.dds") == 0)
  14.         CantUse = TRUE;
  15.  
  16.     if (strcmp(pTexture->m_strTexFileName, "Item\\Item_SysSysQuePetResurrection02_S.dds") == 0)
  17.         CantUse = TRUE;
  18.  
  19.     if (strcmp(pTexture->m_strTexFileName, "Item\\Item_SysSysQuePetResurrection02_A.dds") == 0)
  20.         CantUse = TRUE;
  21.  
  22.     if (strcmp(pTexture->m_strTexFileName, "Item\\Item_SysSysQuePetResurrection02_B.dds") == 0)
  23.         CantUse = TRUE;
  24.  
  25.     if (strcmp(pTexture->m_strTexFileName, "Item\\Itm_SysSysScrPetAwake.dds") == 0)
  26.         CantUse = TRUE;
  27.  
  28.     if (strcmp(pTexture->m_strTexFileName, "Item\\Itm_SysSysScrPetAwakeCancel.dds") == 0)
  29.         CantUse = TRUE;
  30.  
  31.     if ( CantUse )
  32.     {
  33.         g_WndMng.PutString("You can't use this in your Taskbar | Dragon Crusade Bot-Protection", NULL, prj.GetTextColor(TID_GAME_MAX_SHORTCUT_CHAT));
  34.         return FALSE;
  35.     }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement