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, 12:38 AM #2
KingcreekS
NOTHING IS IMPOSSIBL
Originally posted by SatanicAmerican View Post
for(i=0;i<level.players.size;i++)

You Can Use:
    foreach(p in level.players)
06-06-2012, 12:42 AM #3
Originally posted by TheHellboy View Post
You Can Use:
    foreach(p in level.players)


no I cantz0rz..
06-06-2012, 12:44 AM #4
KingcreekS
NOTHING IS IMPOSSIBL
Originally posted by SatanicAmerican View Post
no I cantz0rz..


You delete me of skype... :confused::O
06-06-2012, 12:51 AM #5
Originally posted by TheHellboy View Post
You delete me of skype... :confused::O


I deleted my skype account.
06-06-2012, 12:55 AM #6
04jberry
whoo piece of candy!!!
Originally posted by SatanicAmerican View Post
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 [];


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


you ever thought about applying for a job at IW then releasing all their tools ??????

The following user thanked 04jberry for this useful post:

iTruceFret

The following user groaned 04jberry for this awful post:

IELIITEMODZX
06-06-2012, 01:21 AM #7
Originally posted by 04jberry View Post
you ever thought about applying for a job at IW then releasing all their tools ??????


Why would I do that, if I can make the tools myself? Winky Winky

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

04jberry, caleb01, Daddy, JokerRey, M0T1VAT10N,
06-06-2012, 03:44 AM #8
thanks alot man

The following user groaned Sgt.Razor for this awful post:

iiReFuZee
06-06-2012, 10:52 AM #9
spudeeelad
I defeated!
Originally posted by SatanicAmerican View Post
Why would I do that, if I can make the tools myself? Winky Winky

Because then you'd get paid for doing it? Lol
06-06-2012, 11:15 AM #10
Originally posted by spudeeelad View Post
Because then you'd get paid for doing it? Lol


and then get fired + sued for leaking the tools? :dumb:

plus I wouldn't wanna work there anyway unless it was like right now.

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo