Does anybody know the script to use to spend money? Like Example theres a dialog and you want to buy something like a Weapon, I already know the script to get the weapon but what I dont know what the script is to Give Credits for the weapon. Can Someone please tell me the script to do this.
In TSL the script is in there "a_takecredits" don't know if one exists in K1 but this should still work.
void main()
{
int nCredits = GetScriptParameter( 1 );
TakeGoldFromCreature ( nCredits, GetFirstPC () );
}
It's like that in K1, too.