ES_PRC8/_module/nss/speakscore.nss
Jaysyn904 08e84b4e71 Initial upload
Initial upload.
2023-11-14 12:09:02 -05:00

15 lines
387 B
Plaintext

void main()
{
int nEvilScore = GetLocalInt(OBJECT_SELF, "m_nEvilScore");
int nGoodScore = GetLocalInt(OBJECT_SELF, "m_nGoodScore");
string sEvilScore = IntToString(nEvilScore);
string sGoodScore = IntToString(nGoodScore);
string sSpeakScore = " Good " +
sGoodScore + ", Evil " + sEvilScore + ".";
ActionSpeakString(sSpeakScore, TALKVOLUME_TALK);
}