[FilterScript] MRSH: News System [TextDraw] - 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] MRSH: News System [TextDraw] (
/showthread.php?tid=500672)
MRSH: News System [TextDraw] -
mrsh - 14.03.2014
MRSH SYSTEMS
Name: News System [TextDraw]
Code:
Код:
#include <a_samp>
#include <sscanf2>
#include <zcmd>
new Text:Mrsh[MAX_PLAYERS];
public OnFilterScriptInit()
{
return 1;
}
public OnFilterScriptExit()
{
return 1;
}
CMD:an(playerid, params[])
{
new string[126];
if(sscanf(params,"s[126]",string)) return SendClientMessage(playerid, 0xFF0000AA,"USAGE: /an [news]");
format(string, sizeof(string),"NEWS: ~r~%s",string);
TextDrawSetString(Mrsh[playerid], string);
return 1;
}
public OnPlayerConnect(playerid)
{
Mrsh[playerid] = TextDrawCreate(328.000000, 433.000000, "News:");
TextDrawBackgroundColor(Mrsh[playerid], 255);
TextDrawFont(Mrsh[playerid], 1);
TextDrawLetterSize(Mrsh[playerid], 0.500000, 1.399999);
TextDrawColor(Mrsh[playerid], 16777215);
TextDrawSetOutline(Mrsh[playerid], 0);
TextDrawSetProportional(Mrsh[playerid], 0);
TextDrawSetShadow(Mrsh[playerid], 1);
TextDrawUseBox(Mrsh[playerid], 1);
TextDrawBoxColor(Mrsh[playerid], 136);
TextDrawTextSize(Mrsh[playerid], 0.000000, -319.000000);
TextDrawShowForAll(Mrsh[playerid]);
}
Re: MRSH: News System [TextDraw] -
Mckarlis - 14.03.2014
Any screens?
Re : Re: MRSH: News System [TextDraw] -
anou1 - 14.03.2014
Quote:
Originally Posted by Mckarlis
Any screens?
|
Yep
Re: MRSH: News System [TextDraw] -
M3HR4N - 14.03.2014
any ss / video ?
Re: MRSH: News System [TextDraw] -
mrsh - 14.03.2014
Dont need screenshot because its very simple!
under game add News: ABCDEFG with red coler!
and If anyone could provide screenshot i edit post!
Re: MRSH: News System [TextDraw] -
Pottus - 14.03.2014
You need playertextdraws and lol!
TextDrawShowForAll(Mrsh[playerid]);
Respuesta: Re: MRSH: News System [TextDraw] -
OTACON - 14.03.2014
Quote:
Originally Posted by [uL]Pottus
You need playertextdraws and lol!
TextDrawShowForAll(Mrsh[playerid]);
|
https://sampforum.blast.hk/showthread.php?tid=408824
read this.
using a translator.
Re: MRSH: News System [TextDraw] -
AleemIqbalBhatti - 15.03.2014
Nice
Re: MRSH: News System [TextDraw] -
mrsh - 15.03.2014
thank you!
Re: MRSH: News System [TextDraw] -
carl0o0s - 16.03.2014
where is the new textdraw system ?