Regarding Admin/GM Tags MoverRender.cpp

04/07/2014 18:23 netHoxInc#1
Heya community, i got a little Problem with adding the code into my source

I kinda tryed everything i could imagine (sadly i hadnt had a full code, i used snippets i saw/ own knownledge)

In my code im always getting double tags, or only one tag to work.
Also i tried adding more tags then GM/Admin, also Developer/Director/Event GM

Soo basicly posting my code wont help much figuring out my problem, im morely asking if some1 could kindly post his code for admin tags (in MoverRender.cpp), possibly with more then 2~3 tag titles, so i can see how the 'if elseif else, etc' syntaxes work, since im new to c++

Well thats all i guess, and dont suggest me to download a random source which included it please, im capped to LTE bandwith and near to getting low-internet speed, which i like to avoid p;

Anything else u maybe need to know: Source: virtuos v19 4th Jobs

Hope some1 can help me out on this and im not in wrong forum/sub :D else pls move this c:

Kind regards, Hox
04/08/2014 03:14 Avalion#2
Code:
		if(m_dwAuthorization > AUTH_GENERAL)
		{
			CString strName;
			strName = szName;

			switch(m_dwAuthorization)
			{
				case AUTH_ADMINISTRATOR:
					strName += " [Admin]";
					break;
			}
			strcpy( szName, (LPCTSTR)strName );
		}
04/08/2014 14:30 Lumi#3
Write us your code to help you better, also to say where you did that wrong.