Mocro.net
- Joined
- Feb 3, 2008
- Messages
- 690
- Reaction score
- 96
Somthing small i used switch for the staff and donate tags dead tags is used with if command:
For Lobby and gameroom tag:
ZGameclient.cpp find:
again search:
Replace with :
For Dead tag:
zgame.cpp find:
replace with:
Credits:
For Lobby and gameroom tag:
ZGameclient.cpp find:
Code:
wsprintf(szText, "%s : %s", sp_name , szChat);
Code:
switch(gid)
{
case 255 :
wsprintf(szText, "[Staff]%s : %s", sp_name , szChat);
break;
case 254:
wsprintf(szText, "[Staff]%s : %s", sp_name , szChat);
break;
case 10:
wsprintf(szText, "[Donate]%s : %s", sp_name , szChat);
break;
}
again search:
Code:
wsprintf(szText, "%s : %s", sp_name , szChat);
Replace with :
Code:
switch(gid)
{
case 255 :
wsprintf(szText, "[Staff]%s : %s", sp_name , szChat);
break;
case 254:
wsprintf(szText, "[Staff]%s : %s", sp_name , szChat);
break;
case 10:
wsprintf(szText, "[Donate]%s : %s",sp_name , szChat);
break;
}
For Dead tag:
zgame.cpp find:
Code:
sprintf(szTemp, "%s : %s", pChar->GetProperty()->GetName(),szMsg);
replace with:
Code:
if(pChar->IsDie())
{
sprintf(szTemp, "^0(Dead)%s : %s", pChar->GetProperty()->GetName(),szMsg);
}else{
sprintf(szTemp, "%s : %s", pChar->GetProperty()->GetName(),szMsg);
}
Credits:
- Duluxe (unmask 100%)
- sahar042 (dead tag)