PDA

View Full Version : Credit Check Script


harIII
07-28-2009, 09:10 AM
I need a script to check and see how many credits the player has on them.

stoffe
07-28-2009, 10:48 AM
I need a script to check and see how many credits the player has on them.

For what purpose? You can use the GetGold() function to check how many credits the player has. If it's for a dialog conditional script, for example, you could use it like:

// ST: Example - Check if player has at least 1000 credits.
int StartingConditional() {
return (GetGold(GetFirstPC()) >= 1000);
}


:wonder: