Initial Commit
Initial Commit
This commit is contained in:
10
_module/nss/house_capture.nss
Normal file
10
_module/nss/house_capture.nss
Normal file
@@ -0,0 +1,10 @@
|
||||
void main()
|
||||
{
|
||||
object oPC = GetPCSpeaker();
|
||||
string sSpoken = GetMatchedSubstring(0);
|
||||
int nPrice = StringToInt(sSpoken);
|
||||
string sPrice = IntToString(nPrice);
|
||||
|
||||
SetLocalInt(oPC, "HousePrice", nPrice);
|
||||
SetCustomToken(822, sPrice);
|
||||
}
|
||||
Reference in New Issue
Block a user