hello, is there anything wrong to
?Code:self endon("death");
when I die, the thread doesn't end boh2
it bugs out somewhat
Printable View
hello, is there anything wrong to
?Code:self endon("death");
when I die, the thread doesn't end boh2
it bugs out somewhat
Post ur thread here so we can look into it.
self endon("disconnect");
self endon("death");
self notifyOnPlayerCommand("5", "+actionslot 2");
for(;;){
self waittill("5");
self.showpage2 setText("blablabla");
wait 0.05;
self waittill("5");
self.showpage2 setText("");
wait 0.01;
}
}
the buttons and text works, but when I die and I've pressed 5 one time, it will bug
You need to delete the text....
Why it may crash:Quote:
self.showpage2 delete(); //I might have the wrong code.
I think the reason is because you overlap to many texts. (Hud)
And this will make it be to much for the server to handle.
So keep in mind. To much HUD, CAN crash your server/game.
DestroyatDeath(hud)
{
self waittill("death");
hud destroy();
}
self thread DestroyatDeath(self.showpage2);