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
|
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
|
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
|