GP q/
Displaying 1-7 of 7 total.
1
Please enter a numerical value for the importance of this sticky.
Enter 0 to unsticky.
jesusfreak

ok, I
am thinking of making a money system, but i would like to get a few thingsa straight.
.
if I were to make a Gold Points system, and say that I was in a store, and I have 500Gp, and I buy a super potion fir 200Gp, 500-200=300Gp, well, how would I go about writing a script for the math??

would it go like this a bit?

void GpAdd(int a, int b)
{
Return (A+b);
}
then in my stores vc,
say I sell a potion for 200Gp.
so I call my GpAdd
so..
would it go like so.?
GpAdd(500,200);

/* the reg is 500Gp, and i sell the one for 200Gp.*\

and then how would I display the new sum of 700Gp?
oiy some one please help..





Charlie, alfa, tango, this is roger 6845632, beta alfa, woah , we have a double bogey on our tail, it is a MOUNTAIN DEW CLASS destroyer!

Posted on 2000-12-26 18:37:57

tatsumi_oreo

.



Posted on 2000-12-26 20:25:54

tatsumi_oreo

I've got an idea!

// Add GP!

GP = GP + amount; // bitchin'! right?

// Buy something!

if (GP



Posted on 2000-12-26 20:30:00

tatsumi_oreo

Woops!

re: re: re: re: re: re: re: The message boards are so cool.



Posted on 2000-12-26 20:32:57

jesusfreak

oigh!! i am sorta dumb... well, one thing lies between my idea, I got all of the internal math figured out, now just to literly "DISPLAY" the change.. hmm anyone got an idea about that.. ( i am a little cunfusede about this one.. (BTW, thanks Tatsumi_ :)



... OI have been deprived of my mountain few :( my mommy will not get it today!! she make igor angry!!

Posted on 2000-12-26 20:34:21

jesusfreak

.



... OI have been deprived of my mountain few :( my mommy will not get it today!! she make igor angry!!

Posted on 2000-12-26 20:40:40

Allan

I no text is good. I won't no fucking text. Damn shit.



Companions the creator seeks, not corpses, not herds and believers. Fellow creators the creator seeks--those who write new values on new tablets. Companions the creator seeks, and fellow harvesters; for everything about him is ripe for the harvest.

Posted on 2000-12-26 23:24:16


Displaying 1-7 of 7 total.
1
 
Newest messages

Ben McGraw's lovingly crafted this website from scratch for years.
It's a lot prettier this go around because of Jon Wofford.
Verge-rpg.com is a member of the lunarnet irc network, and would like to take this opportunity to remind you that regardless how babies taste, it is wrong to eat them.