Blockland Forums > Modification Help

First letter not showing.

Pages: (1/3) > >>

Jasa 12265:

In this code.

--- Code: ---function Speak(%message)
{
MessageAll("", "\c7Jasa\c3Jasa\c7\Jasa\c6: " @ getSubStr(%message,1,strLen(%message)-1));
}
--- End code ---
If I enter speak("Message"); in console the first letter doesn't appear in the message. Thus messaging essage. What am I doing wrong to have it not show the first letter?

Destiny/Zack0Wack0:

ere you beaten in the head when you were little?

Truce:


--- Quote from: Destiny/Zack0Wack0 on February 04, 2011, 09:50:37 PM ---ere you beaten in the head when you were little?

--- End quote ---

es, I think he might have been.


Jasa 12265:


--- Quote from: Destiny/Zack0Wack0 on February 04, 2011, 09:50:37 PM ---ere you beaten in the head when you were little?

--- End quote ---
ust when I cried, but that caused me to cry more.

Kalphiter:

ou should change the "1" in getSubStr to "0"

Pages: (1/3) > >>

Go to full version