Post: [Release] How to Not String Overflow!
12-23-2011, 07:59 AM #1
teh1337
I are 𝕋𝕖𝕙𝟙𝟛𝟛𝟟
(adsbygoogle = window.adsbygoogle || []).push({}); This is REALLY important for CoD4 so I am going to repost in this section

Figured I would release this now that the gsc modding community is virtually dead :(

Its really simple, just add this function, and instead of calling setText on an elem, call setTextz!

    

setTextz(str)

{

self setText(str);

self ClearAllTextAfterHudelem();

}



ex:

    

coolText setTextz("$$$ paper lol");



<3 Teh1337 <3
(adsbygoogle = window.adsbygoogle || []).push({});

The following user groaned teh1337 for this awful post:

IELIITEMODZX
12-24-2011, 07:38 AM #29
axelivan15
Do a barrel roll!
OK thankz for this keep it up..
12-24-2011, 08:39 PM #30
Correy
I'm the Original
Originally posted by IVI40A3Fusionz View Post
self ClearAllTextAfterHudelem(); << Won't that give out an error?

Edit: Tested it and gives out an error Winky Winky


it does work,
#include maps\mp\gametypes\_hud_message;
12-24-2011, 09:12 PM #31
IVI40A3Fusionz
Former Gaming Squad Member
Originally posted by Correy View Post
it does work,
#include maps\mp\gametypes\_hud_message;


And no-one told me that before grrrr.... You made me look stupid :L.
12-24-2011, 09:29 PM #32
Blackstorm
Veni. Vidi. Vici.
Originally posted by Correy View Post
it does work,
#include maps\mp\gametypes\_hud_message;


This is a built in function, you don't need to include that gsc :b
12-24-2011, 09:58 PM #33
IVI40A3Fusionz
Former Gaming Squad Member
Originally posted by Blackstorm View Post
This is a built in function, you don't need to include that gsc :b


Even if you do include that i still get an error :p.
12-24-2011, 11:27 PM #34
Blackstorm
Veni. Vidi. Vici.
Originally posted by IVI40A3Fusionz View Post
Even if you do include that i still get an error :p.



You're doing it wrong lol
12-24-2011, 11:34 PM #35
IVI40A3Fusionz
Former Gaming Squad Member
Originally posted by Blackstorm View Post
You're doing it wrong lol


I done it the exact way he posted :p doesn't matter though because i found a different way and that works just fine Winky Winky.
12-25-2011, 10:59 AM #36
Karoolus
I'm the W@W Menu Guy !
lol, i don't get it Happy
why would you use this ? the way i solved the overflow in my menu works great, without anyone saying it doesn't :p

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo