SA-MP Forums Archive
[FilterScript] [FS] Simple-Auto-Message - 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: Filterscripts (https://sampforum.blast.hk/forumdisplay.php?fid=17)
+--- Thread: [FilterScript] [FS] Simple-Auto-Message (/showthread.php?tid=154853)



[FS] Simple-Auto-Message - Montis123 - 15.06.2010

*:Hello I want to present my first job in this forum.

*:The script is quite simple.

*cript is usually the server is sent the message and the message can see all the players I send messages I found that every single minute exchange but if you want but do not change the credits here and everything I said about the script

Download:

LANGUAGE: English, Lithuanian.

Lithuanian:
PWN Failas] http://www.failai.in/show/F/A7B8D8A32/script.pwn
AMX Failas] http://www.failai.in/show/F/3E81C0829/script.amx

English:
PWN File] http://www.failai.in/show/F/E99D7E6CD/script.pwn
AMX File] http://www.failai.in/show/F/988A614EB/script.amx

Enjoy

Please comment


By Montis123


Re: [FS] Simple-Auto-Message - Montis123 - 15.06.2010

Please comments.


Re: [FS] Simple-Auto-Message - Hijolion - 15.06.2010

Simple but good :P


Re: [FS] Simple-Auto-Message - Montis123 - 15.06.2010

Quote:
Originally Posted by Hijol
Simple but good :P
thanks for the comment


Re: [FS] Simple-Auto-Message - straco - 16.06.2010

1 minute is 60*1000 = 60000 but you hew write 100000 in timer


Re: [FS] Simple-Auto-Message - AiVAMAN - 23.06.2010

Quote:
Originally Posted by Montis123
*cript is usually the server is sent the message and the message can see all the players I send messages I found that every single minute exchange but if you want but do not change the credits here and everything I said about the script
Quote:
Originally Posted by straco
1 minute is 60*1000 = 60000 but you hew write 100000 in timer
Your English is terrible.


Re: [FS] Simple-Auto-Message - zeli - 23.06.2010

I have a question:

If i have a message, which needs to show variables, how can i add it?
(so, its not a constant message, i have to format it.)


Re: [FS] Simple-Auto-Message - Hiddos - 23.06.2010

Quote:
Originally Posted by zeli
I have a question:

If i have a message, which needs to show variables, how can i add it?
(so, its not a constant message, i have to format it.)
pawn Код:
if(automessage == id)
{
format(string,sizeof(string),"Our random failure is %s",pName):
SendClientMessageToAll(color_dude,string);
return 1;
}



Re: [FS] Simple-Auto-Message - zeli - 23.06.2010

Quote:
Originally Posted by Hiddos
Quote:
Originally Posted by zeli
I have a question:

If i have a message, which needs to show variables, how can i add it?
(so, its not a constant message, i have to format it.)
pawn Код:
if(automessage == id)
{
format(string,sizeof(string),"Our random failure is %s",pName):
SendClientMessageToAll(color_dude,string);
return 1;
}
Thank you for the answer. Sorry for being lame, but where do i exactly have to put this? I dont really understand it.


Re: [FS] Simple-Auto-Message - KILLERGTN - 24.06.2010

Quote:
Originally Posted by AivaMan
Quote:
Originally Posted by Montis123
*cript is usually the server is sent the message and the message can see all the players I send messages I found that every single minute exchange but if you want but do not change the credits here and everything I said about the script
Quote:
Originally Posted by straco
1 minute is 60*1000 = 60000 but you hew write 100000 in timer
Your English is terrible.
****** translator


Re: [FS] Simple-Auto-Message - Hiddos - 24.06.2010

Quote:
Originally Posted by zeli
Quote:
Originally Posted by Hiddos
Quote:
Originally Posted by zeli
I have a question:

If i have a message, which needs to show variables, how can i add it?
(so, its not a constant message, i have to format it.)
pawn Код:
if(automessage == id)
{
format(string,sizeof(string),"Our random failure is %s",pName):
SendClientMessageToAll(color_dude,string);
return 1;
}
Thank you for the answer. Sorry for being lame, but where do i exactly have to put this? I dont really understand it.
The only person who is lame is the person who doesn't asks questions.

pawn Код:
public SendMSG()
{
new rand = random(sizeof(RandomMSG)),string[128],y,m,d;
if(rand == 2)
{
Getdata(y,m,d);
format(string,sizeof(string),"The date is: %d - %d -%d",y,m,d);
SendClientMessageToAll(0x168FE9FF, string);
}
SendClientMessageToAll(0x168FE9FF, RandomMSG[rand]);
return 1;
}
Or sumthin like that.

On-topic: Straight copied from the wiki I just noticed XD


Quote:
Originally Posted by Montis123
AMX Failas]
Lol.


Re: [FS] Simple-Auto-Message - zeli - 24.06.2010

I see now, thank you for helping!


Re: [FS] Simple-Auto-Message - Hiddos - 24.06.2010

Quote:
Originally Posted by zeli
I see now, thank you for helping!
No problem


Re: [FS] Simple-Auto-Message - AiVAMAN - 24.06.2010

Quote:
Originally Posted by Montis123
AMX Failas]

Lol.
It means File in Lithuanian.