Quantcast
Channel: SA-MP Forums - Filterscripts
Viewing all articles
Browse latest Browse all 595

[FilterScript] NotifyTD - Inform players with style

$
0
0
NotifyTD - Inform players with style

So, i had some free time and decided to make this. It's a textdraw where you can use it to inform players about everything.

As GameText, you can use colors and ~n~ for new line.

Some examples.

This:

pawn Code:
InformPlayer(playerid, "~w~Hey, this is a ~r~t~w~e~y~s~b~t~g~!", 3500);

Turns into this:



As like GameTexts you can format it, so this:

pawn Code:
new name[MAX_PLAYER_NAME + 1], message[30];

GetPlayerName(playerid, name, sizeof(name));

format(message, sizeof(message), "~w~Hello %s!", name);
InformPlayer(playerid, message, 5000);

Turns into this:



And this is what happens when you split your information text in a new line:



Functions:

Currently there is only one function:

pawn Code:
InformPlayer(playerid, string[], time = 5000)

Well i guess there is nothing more to say about this simple filterscript.

Pastebin:

https://pastebin.com/02A3kP5K

Enjoy.

Viewing all articles
Browse latest Browse all 595

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>