Massassi Forums Logo

This is the static archive of the Massassi Forums. The forums are closed indefinitely. Thanks for all the memories!

You can also download Super Old Archived Message Boards from when Massassi first started.

"View" counts are as of the day the forums were archived, and will no longer increase.

ForumsCog Forum → Two questions
Two questions
2003-09-24, 4:04 PM #1
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.
2003-09-25, 12:58 AM #2
#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
-Hell Raiser
2003-09-25, 1:27 AM #3
Why thank you Hell Raiser.

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

↑ Up to the top!