// Server Informations TxtDraws WebsiteTxtDraw = TextDrawCreate(500.000000, 2.800001, "www.ph-roleplay.yzi.me"); TextDrawLetterSize(WebsiteTxtDraw, 0.449999, 1.600000); TextDrawAlignment(WebsiteTxtDraw, 1); TextDrawColor(WebsiteTxtDraw, -65281); TextDrawSetShadow(WebsiteTxtDraw, 0); TextDrawSetOutline(WebsiteTxtDraw, 1); TextDrawBackgroundColor(WebsiteTxtDraw, 51); TextDrawFont(WebsiteTxtDraw, 0); TextDrawSetProportional(WebsiteTxtDraw, 1);
TextDrawShowForPlayer(playerid, WebsiteTxtDraw);
^^ If your script reaches the limit on MAX_TEXTDRAWS, no more textdraws will be created.
|
Make sure you don't have any Text:MyTD[MAX_PLAYERS]; these need to be changed to player textdraws.
|
new Text:WebsiteTxtDraw;
new Text:WebsiteTxtDraw; new Text:CreatorInfoTxtDraw; new Text:ServerName1; new Text:ServerName2;
// Server Informations TxtDraws WebsiteTxtDraw = TextDrawCreate(500.000000, 2.800001, "www.ph-roleplay.yzi.me"); TextDrawLetterSize(WebsiteTxtDraw, 0.449999, 1.600000); TextDrawAlignment(WebsiteTxtDraw, 1); TextDrawColor(WebsiteTxtDraw, -65281); TextDrawSetShadow(WebsiteTxtDraw, 0); TextDrawSetOutline(WebsiteTxtDraw, 1); TextDrawBackgroundColor(WebsiteTxtDraw, 51); TextDrawFont(WebsiteTxtDraw, 0); TextDrawSetProportional(WebsiteTxtDraw, 1); CreatorInfoTxtDraw = TextDrawCreate(553.500000, 435.119903, "Created by: Ivann"); TextDrawLetterSize(CreatorInfoTxtDraw, 0.255500, 1.073600); TextDrawAlignment(CreatorInfoTxtDraw, 1); TextDrawColor(CreatorInfoTxtDraw, 16777215); TextDrawSetShadow(CreatorInfoTxtDraw, 0); TextDrawSetOutline(CreatorInfoTxtDraw, 1); TextDrawBackgroundColor(CreatorInfoTxtDraw, 51); TextDrawFont(CreatorInfoTxtDraw, 3); TextDrawSetProportional(CreatorInfoTxtDraw, 1); ServerName1 = TextDrawCreate(11.000000, 428.960021, "PHILIPPINES"); TextDrawLetterSize(ServerName1, 0.327000, 1.661599); TextDrawAlignment(ServerName1, 1); TextDrawColor(ServerName1, 65535); TextDrawSetShadow(ServerName1, 0); TextDrawSetOutline(ServerName1, -1); TextDrawBackgroundColor(ServerName1, 51); TextDrawFont(ServerName1, 2); TextDrawSetProportional(ServerName1, 1); ServerName2 = TextDrawCreate(95.000000, 428.399993, "ROLEPLAY"); TextDrawLetterSize(ServerName2, 0.310499, 1.712000); TextDrawAlignment(ServerName2, 1); TextDrawColor(ServerName2, -16776961); TextDrawSetShadow(ServerName2, 0); TextDrawSetOutline(ServerName2, 1); TextDrawBackgroundColor(ServerName2, 51); TextDrawFont(ServerName2, 2); TextDrawSetProportional(ServerName2, 1);
TextDrawShowForPlayer(playerid, CreatorInfoTxtDraw); TextDrawShowForPlayer(playerid, ServerName1); TextDrawShowForPlayer(playerid, ServerName2); TextDrawShowForPlayer(playerid, WebsiteTxtDraw);