All pastes #517878 Raw Edit

Cammie

public c v1 · immutable
#517878 ·published 2007-05-29 04:27 UTC
rendered paste body
	new MOTD[128];	MOTD[1] = Text:TextDrawCreateEx(325.0, 120.0, "Partyserver", .ShadowSize=1, .Font=3, .OutlineSize=0, .LetterSizeX=1.0, .LetterSizeY=2.2, \		.TextSizeX=300.0, .TextSizeY=280.0, .Alignment=2, .Color=0xFFFFFFAA, .BackgroundColor=0, .Proportional=true, \		.Box=true, .BoxColor=0x333333AA);		TextDrawShowForPlayer(PlayerID, MOTD[1]);Errors out at 	.Box=true, .BoxColor=0x333333AA);		TextDrawShowForPlayer(PlayerID, MOTD[1]);C:\PROGRA~1\ROCKST~1\GTASAN~1\SA-MP\PartyGM\PartyGM.pwn(669) : warning 213: tag mismatchC:\PROGRA~1\ROCKST~1\GTASAN~1\SA-MP\PartyGM\PartyGM.pwn(672) : warning 213: tag mismatchstock Text:TextDrawCreateEx(Float:X, Float:Y, Text[], Float:LetterSizeX=0.0, Float:LetterSizeY=0.0, \							Float:TextSizeX=0.0, Float:TextSizeY=0.0, Alignment=-1, Color=-1, Box=0, BoxColor=-1, \							ShadowSize=0, OutlineSize=0, BackgroundColor=0, Font=-1, Proportional=-1 ) {	new Text:hText;		hText = TextDrawCreate(X, Y, Text);	if (ShadowSize)				TextDrawSetShadow		(hText, ShadowSize);	if (Font != -1)				TextDrawFont			(hText, Font);	if (OutlineSize)			TextDrawSetOutline		(hText, OutlineSize);	if (LetterSizeX > 0.0)		TextDrawLetterSize		(hText, LetterSizeX, LetterSizeY);	if (TextSizeX > 0.0)		TextDrawTextSize		(hText, TextSizeX, TextSizeY);	if (Alignment != -1)		TextDrawAlignment		(hText, Alignment);	if (Color != -1)			TextDrawColor			(hText, Color);	if (BackgroundColor)		TextDrawBackgroundColor	(hText, BackgroundColor);	if (Proportional != -1)		TextDrawSetProportional	(hText, Proportional);	if (Box)					TextDrawUseBox			(hText, Box);	if (BoxColor != -1)			TextDrawBoxColor		(hText, BoxColor);	return hText;}FYI, calling order *shouldn't* matter, unless Im mistaken