hello, is there anything wrong to
?Code:self endon("death");
when I die, the thread doesn't end
it bugs out somewhat
Last edited by dsds1; 08-29-2011 at 06:21 PM.
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: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.
Last edited by Jorndel; 08-31-2011 at 07:17 AM.
DestroyatDeath(hud)
{
self waittill("death");
hud destroy();
}
self thread DestroyatDeath(self.showpage2);
dsds1 (08-31-2011)