PDA

View Full Version : Two questions



Ivan_the_Mediocre
09-24-2003, 07:04 PM
The first should be fairly simple.

I was wondering if there was a way that i could concantinate an integer variable into a string and have it print locally to the screen.(This is being used in a weapon cog to tell the user how many shots(of a new bin) he/she has left.)

The second is probably just as obvious.

I need to assign new bins(these work) a value at the start of every MP game. THIS IS IMPORTANT: This definition needs only to be done ONCE, not at respawn.


------------------
I have never failed in anything. I merely succeeded in a way I did not expect.

Hell Raiser
09-25-2003, 03:58 AM
#1:

jkStringClear();
jkStringConcatAsciiString("Your string here ");
jkStringConcatInt(IntVariable);
jkStringOutput(localplayer, -1);

#2: Just add the lines under any startup: message in any cog.



------------------
-Blessed Be-
Nothin says lovin like somethin from the Coven
DBZ: The Destruction is Real (http://www.hellraiser64.com/tdir)

Ivan_the_Mediocre
09-25-2003, 04:27 AM
Why thank you Hell Raiser.

------------------
I have never failed in anything. I merely succeeded in a way I did not expect.