WoR_PRC8/_module/nss/rhun_on_plyrchat.nss

15 lines
388 B
Plaintext
Raw Normal View History

2025-04-03 11:49:34 -04:00
void main(){
object oPC = GetPCChatSpeaker();
object oArea = GetArea(oPC);
int bNoShout = GetLocalInt(oArea, "iNOCHAT");
if(bNoShout){
int nChatVolume = GetPCChatVolume();
if(nChatVolume == TALKVOLUME_SHOUT){
SetPCChatMessage();
FloatingTextStringOnCreature("You cannot shout in this area.", oPC, FALSE);
}
}
}