Note: LucasForums Archive Project
The content here was reconstructed by scraping the Wayback Machine in an effort to restore some of what was lost when LF went down. The LucasForums Archive Project claims no ownership over the content or assets that were archived on archive.org.

This project is meant for research purposes only.

a simple doubt ...

Page: 1 of 1
 GeorgNihilus
08-04-2008, 8:26 PM
#1
Hi there :) I'm not sure which function should I use to check how many credits do I have in inventory for K1, I'm using this -which is not working obviously- to find if I have more than 2250 credits but the faction thing is not clear to me ... :(

// it 'should' return true if I have more than 2250 credits in inventory

#include "k_inc_debug"

int StartingConditional()
{
object oPC=GetFirstPC();
int creds;
creds=GetFactionGold(oPC);

if (creds > 2250)
{
return TRUE;
}
return FALSE;
}

I think is always returning false if I'm right ...

thanks on advance guys :yelhelp:

EDIT: Thanks anyway people, I already found it ... :)
Page: 1 of 1