Jump to content

Home

[K1] Get credits.


sekan

Recommended Posts

Posted

Hi,

 

I need a script that checks how much credits the PC have. If the PC has 500 credits or higher it returns true and if not it returns false. This shall be used in a dialog.

 

Thanks and Take care

Posted

^^^ That one's a K2:TSL script if I'm not mistaken. K1 doesn't support script parameters from dialogs.

 

 

I need a script that checks how much credits the PC have. If the PC has 500 credits or higher it returns true and if not it returns false. This shall be used in a dialog.

 

Something like this should work:

int StartingConditional() {
   return (GetGold(GetFirstPC()) >= 500);	
}

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...