Blockland Forums > Modification Help
Check clientsided-ly when a servercommand is sent
Swollow:
--- Quote from: Superb on January 10, 2012, 11:29:05 PM ---Ok, now tell me exactly what this mod you have in mind is going to do, so i understand better.
Also
}
activatePackage(HideGlobalNameFromChat);
should be
};
activatePackage(HideGlobalNameFromChat);
--- End quote ---
oops i actually did fix that that was an older version sry
I'm attempting to hide the blue name that appears when a player starts talking
Superb:
--- Quote from: swollow on January 10, 2012, 11:32:21 PM ---oops i actually did fix that that was an older version sry
I'm attempting to hide the blue name that appears when a player starts talking
--- End quote ---
Hide every single name, your name, some random persons name? What?
Swollow:
--- Quote from: Superb on January 10, 2012, 11:34:20 PM ---Hide every single name, your name, some random persons name? What?
--- End quote ---
just my name, id 6531 or name swollow
Superb:
--- Quote from: swollow on January 10, 2012, 11:38:21 PM ---just my name, id 6531 or name swollow
--- End quote ---
ChatWhosTalking.setValue(strReplace(chatWhosTalking.getValue(),"yournamehere",""));
Swollow:
thanks for the help it worked mostly except at the very beginning of talking the name pops up but then is disappears its probably not fixable so thanks tell me if you think you can fix this otherwise I'll lock
package HideGlobalNameFromChat
{
function whoTalkSO::addId(%this,%ID)
{
%a = ChatWhosTalking.setValue(strReplace(chatWhosTalking.getValue(),"Swollow",""));
if(%a == "Swollow")
{
commandtoserver('StopTalking');
}
parent::addId(%this,%ID);
}
};
activatePackage(HideGlobalNameFromChat);