I need a bit of help? - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: I need a bit of help? (
/showthread.php?tid=373882)
I need a bit of help? -
Penki4a - 01.09.2012
Ok i understand SendDeathMessage under OnPlayerDeath,but does anyone know how i can clear the death message section, a.k.a sending a couple of empty death messages..like using empty SendClientMessages to clear the chatbox?
Thanks.
Re: I need a bit of help? -
_Khaled_ - 01.09.2012
You mean /clearchat?
or what? didn't understand..
Re: I need a bit of help? -
ZBits - 01.09.2012
he means he need to clear the Death window by asimple command /cleardeathwindow
Re: I need a bit of help? -
Penki4a - 01.09.2012
Quote:
Originally Posted by Domnic Toretto
he means he need to clear the Death window by asimple command /cleardeathwindow
|
Exactly.
Re: I need a bit of help? -
ZBits - 01.09.2012
try using a loop
pawn Код:
for ( new num; num > 20; num++ )
{
SendDeathMessage(INVALID_PLAYER_ID, INVALID_PLAYER_ID, 255);
}
Re: I need a bit of help? -
Penki4a - 01.09.2012
Quote:
Originally Posted by Domnic Toretto
try using a loop
pawn Код:
for ( new num; num > 20; num++ ) { SendDeathMessage(INVALID_PLAYER_ID, INVALID_PLAYER_ID, 255); }
|
Like that the death box doesn't even show up.
Re: I need a bit of help? -
Penki4a - 01.09.2012
bump