Initial upload
Initial upload.
This commit is contained in:
14
_module/nss/speakscore.nss
Normal file
14
_module/nss/speakscore.nss
Normal file
@@ -0,0 +1,14 @@
|
||||
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);
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user