Jump to content

Home

a simple doubt ...


GeorgNihilus

Recommended Posts

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 ... :)

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...