Battledale_PRC8/_module/nss/fr_emotew_s015.nss

16 lines
269 B
Plaintext
Raw Permalink Normal View History

void main()
{
object oSpeaker = GetLastSpeaker();
int iGender = GetGender(oSpeaker);
if (iGender == GENDER_MALE)
{
AssignCommand ( oSpeaker, PlaySound("as_pl_snoringm1"));
}
if (iGender == GENDER_FEMALE)
{
AssignCommand ( oSpeaker, PlaySound("as_pl_snoringf1"));
}
}