First look to:
and find this code :
Above him, its all commented. Uncomment all and comment that line above !
Obs: Has two codes, and is the same. So change both.
Obs2: If you compile and open your game, you will see that the name of weapons are followed by SA_
To remove that, add this line :
before :
And then weapons name will appear.
Remember, this is only client-sided !
Thanks for all !
Code:
ScreenInventory.cpp
and find this code :
Code:
m_pFontWeaponTitle[nSlot]->DrawD3DText((*iter)->szName, lstrlen((*iter)->szName),DT_LEFT,D3D_TEXT_SHADOW );
Above him, its all commented. Uncomment all and comment that line above !
Obs: Has two codes, and is the same. So change both.
Obs2: If you compile and open your game, you will see that the name of weapons are followed by SA_
To remove that, add this line :
Code:
strName.erase(0,3);
before :
Code:
m_pFontWeaponTitle[nSlot]->DrawD3DText(strName.c_str(), lstrlen(strName.c_str()), DT_LEFT,D3D_TEXT_SHADOW );
And then weapons name will appear.
Remember, this is only client-sided !
Thanks for all !