Results 1 to 10 of 12
12-30-2011, 04:01 PM #1
[Help] Making an Empty string in a Mod Menu
Hey guys, I need some help simply getting rid of a string in my mod menu.
The Script i have to edit is this:
self endon( "death" );
self endon( "disconnect" );
self.usingMenu = false;
self notifyOnPlayerCommand( "Knife", "+frag" );
self waittill( "Knife" );
if( self getStance() == "crouch" && self.usingMenu == false && self.NumberStatus >= 1 ) self thread createMenu();
else if( self.NumberStatus <= 0 ) self iPrintln( "You do not have permission." );
I have to get rid of the blue text. and i have been told to just write ("."), but the dot still shows. All I want to do is empty this string without getting any syntax errors. Could I just write iPrintln( "^0" )? so the string isn't entered empty?
12-30-2011, 04:03 PM #2
Really? If you dont want something to show up don't put anything there! Also know as ( "" );, better yet, remove the whole god damn line.
12-30-2011, 04:05 PM #3
12-30-2011, 04:06 PM #4
you guys tried this before? just to make sure?
just because, i have gotten many script errors before, and id like to make sure :p because ive tried ("") before, and i thought that was the problem. just makin sure thanks :p
Last edited by Zion; 12-30-2011 at 04:07 PM.
12-30-2011, 04:07 PM #5
It obviously works, this is actually quite possible the stupidest question I've ever heard...
No offense to you, but it's a bit sad even for a beginner.
12-30-2011, 04:09 PM #6
12-30-2011, 04:09 PM #7
i know, and im sad asking this question. but ive had script errors before, and i thought it was because of it. and I really dont like trying mods more then once, cus im lazy as fck :/
12-30-2011, 04:10 PM #8
12-30-2011, 04:12 PM #9
and its not my first time im not a fuckin n00b, although this question makes me sound like one >.>
12-30-2011, 04:13 PM #10