ok ... I fail to make a text into the next line.
PHP Code:
findPlayer("Schetti").addweapon(this.name);
//#CLIENTSIDE
function onKeyPressed(code,key) {
if (key == "o")
{
show();
}
}
public function show() {
new GuiWindowCtrl("-System/News_Window1") {
profile = GuiBlueWindowProfile;
clientrelative = true;
clientextent = "488,390";
canmove = true;
canresize = true;
closequery = false;
destroyonhide = false;
text = "News!";
x = 500;
y = 280;
new GuiTextCtrl("-System/News_Text1") {
profile = GuiBlueTextProfile;
height = 20;
text = "Text 1" NL "hi";
width = 30;
x = 25;
y = 10;
}
}
}
I DONT want to hear something about the if (key == "o")
It doesnt matter ...
Well actually the text is in 1 low like: Tex 1 hi
but it should show as
Text1
hi
someone can help?