SA-MP Forums Archive
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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: help (/showthread.php?tid=137722)



help - rong13 - 29.03.2010

how i make that some 1 wirte some thing in chat
after is name there is id ?
and auto chat clean
and afk sys and when i spawn i only spawn in 1 place
how i make it to many places ??



Re: help - -Rebel Son- - 29.03.2010

English pl0x.


Re: help - [XST]O_x - 29.03.2010

Quote:
Originally Posted by rong13
how i make that some 1 wirte some thing in chat
after is name there is id ?
http://forum.sa-mp.com/index.php?top...4802#msg654802
Quote:
Originally Posted by rong13
and auto chat clean
??
Quote:
Originally Posted by rong13
and afk sys
http://forum.sa-mp.com/index.php?topic=157532.0
http://forum.sa-mp.com/index.php?topic=159925.0

Quote:
Originally Posted by rong13
when i spawn i only spawn in 1 place
how i make it to many places ??
http://forum.sa-mp.com/index.php?top...3358#msg783358

i got all of those by searching,you dont even search,for gods sake.

SEARCH!


Re: help - rong13 - 30.03.2010

the first thing about the id dont work
and the 2 is auto chat cleaner sys



Re: help - -Rebel Son- - 30.03.2010

auto cleaner?


it would be simple,


Make a function first.
Код:
forward autocleaner();
public autocleaner()
{
for(new i=0; i<MAX_PLAYERS; ++i)
{
SendClientMessage(i,COLOR_WHITE,"");
SendClientMessage(i,COLOR_WHITE,"");
SendClientMessage(i,COLOR_WHITE,"");
SendClientMessage(i,COLOR_WHITE,"");
SendClientMessage(i,COLOR_WHITE,"");
SendClientMessage(i,COLOR_WHITE,"Chat Cleared");
}
}
Now we got the function, make a timer. (remember it runs by miliseconds)

Код:
SetTimer("autocleaner",60000,1);
this will auto clear the chat every one minute.
have fun!