//Add this to your new new Text:LTU; // Under public OnGameModeInit() LTU = TextDrawCreate(433.7500, 206.2500,"Welcome to XYZ server !"); TextDrawUseBox(LTU,1); TextDrawBoxColor(LTU,0x00000066); TextDrawTextSize(LTU,629.000000,2.000000); TextDrawAlignment(LTU,0); TextDrawBackgroundColor(LTU,0x000000ff); TextDrawFont(LTU,1); TextDrawLetterSize(LTU,0.499999,0.899999); TextDrawColor(LTU,0xffffffff); TextDrawSetOutline(LTU,1); TextDrawSetProportional(LTU,1); TextDrawSetShadow(LTU,1); //And put this under OnPlayerConnect TextDrawShowForPlayer(playerid, LTUNoLag);
Originally Posted by RemulisLTU
Код:
//Add this to your new new Text:LTU; // Under public OnGameModeInit() LTU = TextDrawCreate(433.7500, 206.2500,"Welcome to XYZ server !"); TextDrawUseBox(LTU,1); TextDrawBoxColor(LTU,0x00000066); TextDrawTextSize(LTU,629.000000,2.000000); TextDrawAlignment(LTU,0); TextDrawBackgroundColor(LTU,0x000000ff); TextDrawFont(LTU,1); TextDrawLetterSize(LTU,0.499999,0.899999); TextDrawColor(LTU,0xffffffff); TextDrawSetOutline(LTU,1); TextDrawSetProportional(LTU,1); TextDrawSetShadow(LTU,1); //And put this under OnPlayerConnect TextDrawShowForPlayer(playerid, LTUNoLag); |
new Text:Text; // Under public OnGameModeInit() Text = TextDrawCreate(433.7500, 206.2500,"Welcome to XYZ server !"); TextDrawUseBox(Text,1); TextDrawBoxColor(Text,0x00000066); TextDrawTextSize(Text,629.000000,2.000000); TextDrawAlignment(Text,0); TextDrawBackgroundColor(Text,0x000000ff); TextDrawFont(Text,1); TextDrawLetterSize(Text,0.499999,0.899999); TextDrawColor(Text,0xffffffff); TextDrawSetOutline(Text,1); TextDrawSetProportional(Text,1); TextDrawSetShadow(Text,1); //And put this under OnPlayerConnect TextDrawShowForPlayer(playerid, Text);