[Include] a_Infobox
#1

Hello guys,

at first, i want to say, that i'm from germany, so my english isn't very well.
Today, i want to be active in the English SA:MP Forum too and want to present little works of me.
Now its about a Infobox include. With this include you can create a simple infobox in 2 different styles.

The include is able to show Infoboxes to players, or to everybody, who is on the server.
And surely u can decide the time, how long the infobox should be shown.
The include has already been released in a german SA:MP forum.

Natives:
InfoText(playerid,overview[50],text[200],time);
InfoTextForAll(overview[50],text[200],time);

Examples:
InfoText(playerid,"SA:MP","This Include was created~n~by Azure.",4000);
InfoTextForAll("SA:MP","Servermessage for all users.~n~This Include was created~n~by Azure.",5000);

Screenshots:
Screenshot
Screenshot

Download:
Mediafire: Click here
Pastebin: Click here

I hope this include will be useful for some people.
Azure
Reply
#2

No Comments? :O
Reply
#3

This include is nice. It would be used as MOTD in my server
Reply
#4

Nice Work. It'd be better if you made it Split the Message Automatically. Like, you don't need to use '~n~' everytime. Still, it's impressive.
Reply
#5

Quote:
Originally Posted by PreetZ
Посмотреть сообщение
This include is nice. It would be used as MOTD in my server
I'm very happy about, that this include is useful for some servers.
Thank you two for your comments!
Reply
#6

Hello, it's possible to delete an Infobox ?
Reply
#7

I suggest removing those fixed length arrays. That's annoying. Remove the numbers (50, 200) between the square brackets in the function headers.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)