[FilterScript] Simply Auto Messege (v2.1.1)
#21

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;
}
Reply
#22

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
Reply
#23

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
Reply
#24

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
Reply
#25

Haha, Little but good! I think work of 2 minute... Maybe lower.. But it's okay :P Good work!
Reply
#26

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!
Reply
#27

good job man simple yet nice
Reply
#28

Quote:
Originally Posted by RV3RS3
Посмотреть сообщение
good job man simple yet nice
Thanks.
Reply
#29

Cool work! i may add a Credits Filterscript xD
Reply
#30

i think this better
http://pastebin.com/mG2hbzey
Reply
#31

Quote:
Originally Posted by Maftaca
Посмотреть сообщение
Cool work! i may add a Credits Filterscript xD
Thanks.
Reply
#32

Quote:
Originally Posted by FUNExtreme
Посмотреть сообщение
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
Quote:
Originally Posted by DIFF
Посмотреть сообщение
i think this better
http://pastebin.com/mG2hbzey
Did you read these replys? You should update your script according to it
Reply
#33

Nice
Reply
#34

Thanks

__________________
MY SERVER:

Server forum
-------
Be$t Host for your server : HostingTime Easy control panel with 1Euro for 20 slots.
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)