Post: Some Cool Text Functions.
06-06-2012, 12:28 AM #1
(adsbygoogle = window.adsbygoogle || []).push({}); These are pretty old but can help for text I guess...
It makes things a little more stable but w/e..


okay on init we will add:
    
level.mapname = getDvar("mapname");
level.gamename = getDvar("g_gametype");
level.playerString = []; //lol


on player connect:
    
//add after level waittill("connected", player);
then..
level.playerString[level.playerString.size] = player.name;
precacheString(level.playerString[level.playerString.size]);


Then lets say you have a created string called self.Menu or w/e...

playerMenu:
    
for(i=0;i<level.players.size;i++)
self.Menu[i] SetPlayerNameString( level.playerString[i] );


Map Menu:
    
self.Menu[i] SetMapNameString( level.mapname );


or maybe just a string for gamemode:
    
self.Menu[i] SetGameTypeString( level.gamename );



These are old and I'd thought I would share Winky Winky
(adsbygoogle = window.adsbygoogle || []).push({});

The following 6 users say thank you to Jakes625 for this useful post:

04jberry, iiReFuZee, KingcreekS, JokerRey, Taylor, xePixTvx
06-06-2012, 05:00 PM #11
spudeeelad
I defeated!
Originally posted by SatanicAmerican View Post
and then get fired + sued for leaking the tools? :dumb:

Indeed but take one for the team :P haha
06-06-2012, 05:33 PM #12
Originally posted by spudeeelad View Post
Indeed but take one for the team :P haha


how about not leaching and learn? Enzo

The following 2 users groaned at Jakes625 for this awful post:

247Yamato, zxz0O0
06-07-2012, 01:17 AM #13
M0T1VAT10N
Do a barrel roll!
NBK Bro can u add me back on skype i have a cool idea for a mw2 gametype Winky Winky just add me back brah.
06-07-2012, 11:44 PM #14
Originally posted by SatanicAmerican View Post
Why would I do that, if I can make the tools myself? Winky Winky
Your abit big headed Winky Winky Your not good enough to get a job at IW yet lol :wub:

The following 2 users say thank you to IELIITEMODZX for this useful post:

247Yamato,
06-08-2012, 04:06 AM #15
Originally posted by IELIITEMODZX View Post
Your abit big headed Winky Winky Your not good enough to get a job at IW yet lol :wub:


I can make the tools myself tho lol! stare
06-08-2012, 08:59 AM #16
247Yamato
< ^ > < ^ >
Originally posted by IELIITEMODZX View Post
Your abit big headed Winky Winky Your not good enough to get a job at IW yet lol :wub:


Indeed, all of us would need to be a lot better to be there. You would need to be able to do anything, from maping to coding.

IW doesnt make mistakes like this :carling:

    level.playerString [];

The following user thanked 247Yamato for this useful post:

zxz0O0

The following 2 users groaned at 247Yamato for this awful post:

Taylor
06-08-2012, 09:20 AM #17
zxz0O0
Are you high?
As 247Yamato said, and also you need to know general stuff
Originally posted by SatanicAmerican View Post
Then lets say you have a created string called self.Menu or w/e...

playerMenu:
    
for(i=0;i<level.players.size;i++)
self.Menu[i] SetPlayerNameString( level.playerString[i] );

self.Menu is not a string, it's a hudElem because you call these functions on a hud element.

Originally posted by another user
how about not leaching and learn?

Funny to see that coming from you :dumb:

The following user thanked zxz0O0 for this useful post:

247Yamato

The following 2 users groaned at zxz0O0 for this awful post:

Taylor
06-08-2012, 01:35 PM #18
Originally posted by SatanicAmerican View Post
I can make the tools myself tho lol! stare
mm not the mapping tools :p or fx tools Happy
06-08-2012, 03:46 PM #19
Originally posted by IELIITEMODZX View Post
mm not the mapping tools :p or fx tools Happy


Maybe if I got into them I would :p

I decompiled part of a fastfile and got a shitload of fx names. I'd look more into that but I'm busy most of the time Happy

---------- Post added at 10:44 AM ---------- Previous post was at 10:42 AM ----------

Originally posted by zxz0O0 View Post
As 247Yamato said, and also you need to know general stuff

self.Menu is not a string, it's a hudElem because you call these functions on a hud element.


the value of self.Menu is a string though :derp:

Originally posted by zxz0O0 View Post

Funny to see that coming from you :dumb:


If you even remotely believe that you are retarded.


also who the hell are you? I have never heard of you. What right do you have to call me a leacher?

---------- Post added at 10:46 AM ---------- Previous post was at 10:44 AM ----------

Originally posted by 247Yamato View Post
Indeed, all of us would need to be a lot better to be there. You would need to be able to do anything, from maping to coding.

IW doesnt make mistakes like this :carling:

    level.playerString [];


That defines level.playerString as an array.

That's not a mistake.

You'd know that from any basic programming language. ie: C#

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo