Re: Simply Auto Messege (v2.1.1) -
FUNExtreme - 27.03.2011
Quote:
Originally Posted by [M.A]Angel[M.A]
Example:
pawn Код:
new Announcements[][128] = { //Removed the 9, it now supports unlimited messages
"[BOT] Want to come again? Add server IP: xx.xxx.xxx.xx: xxxx", "[BOT] (Add anything here)", );
|
Correct example:
pawn Код:
new Announcements[9][128] = { // Also You can add more !
"[BOT] Want to come again? Add server IP: xx.xxx.xxx.xx: xxxx",
"[BOT] (Add anything here)" //No , on the last line
}; //Should be } instaid of )
EDIT:
This is from your code
pawn Код:
SendClientMessageToAll(Messege,Announcements[0]);
//Change with this
SendClientMessageToAll(Messege, Announcements[Msg]);
Msg ++;
After that add a check
pawn Код:
if (Msg == sizeof(Announcements))
{
Msg = 0;
}
Re: Simply Auto Messege (v2.1.1) -
[M.A]Angel[M.A] - 28.03.2011
Quote:
Originally Posted by FUNExtreme
Correct example:
pawn Код:
new Announcements[9][128] = { // Also You can add more !
"[BOT] Want to come again? Add server IP: xx.xxx.xxx.xx: xxxx", "[BOT] (Add anything here)" //No , on the last line }; //Should be } instaid of )
EDIT:
This is from your code
pawn Код:
SendClientMessageToAll(Messege,Announcements[0]); //Change with this SendClientMessageToAll(Messege, Announcements[Msg]); Msg ++;
After that add a check
pawn Код:
if (Msg == sizeof(Announcements)) { Msg = 0; }
|
wow!!! can you lean me
Re: Simply Auto Messege (v2.1.1) -
FUNExtreme - 28.03.2011
Quote:
Originally Posted by [M.A]Angel[M.A]
wow!!! can you lean me 
|
http://pastebin.com/3H3SFNgK
I did it for you, you can learn from it if you wish!
It should work but I advise you to test it first
Re: Simply Auto Messege (v2.1.1) -
Jeffry - 28.03.2011
Somehow strange, that you have exactly the same Function names and same variables than this script:
http://forum.sa-mp.com/showthread.ph...t=announcement
Note: The first post of the topic, including the download link is removed, because Seif_ left.
But I have the FS, and GlobalAnnouncement, Announcements and Msg are same variable names.
EDIT: Here is the original code of the topic upon:
http://forum.sa-mp.com/showpost.php?...5&postcount=37
Re: Simply Auto Messege (v2.1.1) -
SkyRoyX - 28.03.2011
Haha, Little but good! I think work of 2 minute... Maybe lower.. But it's okay :P Good work!
Re: Simply Auto Messege (v2.1.1) -
[M.A]Angel[M.A] - 30.03.2011
Quote:
Originally Posted by SkyRoyX
Haha, Little but good! I think work of 2 minute... Maybe lower.. But it's okay :P Good work!
|
Thank you all for give me some info!
Re: Simply Auto Messege (v2.1.1) -
RV3RS3 - 30.03.2011
good job man simple yet nice
Re: Simply Auto Messege (v2.1.1) -
[M.A]Angel[M.A] - 30.03.2011
Quote:
Originally Posted by RV3RS3
good job man simple yet nice
|
Thanks.
Re: Simply Auto Messege (v2.1.1) -
Maftaca - 30.03.2011
Cool work! i may add a Credits Filterscript xD
Re: Simply Auto Messege (v2.1.1) -
DIFF - 31.03.2011
i think this better
http://pastebin.com/mG2hbzey
Re: Simply Auto Messege (v2.1.1) -
[M.A]Angel[M.A] - 31.03.2011
Quote:
Originally Posted by Maftaca
Cool work! i may add a Credits Filterscript xD
|
Thanks.
Re: Simply Auto Messege (v2.1.1) -
FUNExtreme - 01.04.2011
Quote:
Originally Posted by FUNExtreme
|
Quote:
Originally Posted by DIFF
|
Did you read these replys? You should update your script according to it
Re: Simply Auto Messege (v2.1.1) -
khaqatar - 29.09.2011
Nice
Re: Simply Auto Messege (v2.1.1) -
[M.A]Angel[M.A] - 29.09.2011
Thanks
__________________
MY SERVER:
Server forum
-------
Be$t Host for your server :
HostingTime Easy control panel with
1Euro for
20 slots.