Detaljan opis problema: pa jednostavno koristim box ali kada zauzmem zonu nema teksta ne pojavi se
Dio skripte:
new string1;
format(string1,sizeof(string1),"~g~%s ~w~has captured \"~b~Snakes Farm\" ",GetTeamName(playerid));
SendXMessage(playerid, string1);stock SendXMessage(playerid, const text[])
{
for(new line; line < 15; line++)
{
TextDrawShowForPlayer(playerid, XMsg);
}
for(new line; line < 15; line++)
{
TextDrawHideForAll(XMsg);
if(line < 14)
{
XMsgStr = XMsgStr[line+1];
TextDrawSetString(XMsg, XMsgStr);
}
}
format(XMsgStr, 128, "%s",text);
TextDrawSetString(XMsg, XMsgStr);
for(new line; line < 15; line++)
{
TextDrawShowForAll(XMsg);
}
return 1;
}for(new line; line<15; line++)
{
format(XMsgStr, 128, " ");
}
XMsg = TextDrawCreate(530, 342+38, XMsgStr);
XMsg = TextDrawCreate(530, 349+38, XMsgStr);
XMsg = TextDrawCreate(530, 356+38, XMsgStr);
XMsg = TextDrawCreate(530, 363+38, XMsgStr);
XMsg = TextDrawCreate(530, 370+38, XMsgStr);
XMsg = TextDrawCreate(530, 377+38, XMsgStr);
XMsg = TextDrawCreate(530, 384+38, XMsgStr);
XMsg = TextDrawCreate(530, 391+38, XMsgStr);
XMsg = TextDrawCreate(530, 398+38, XMsgStr);
for(new line; line<15; line++)
{
TextDrawLetterSize(XMsg, 0.152775, 0.905184);
TextDrawSetShadow(XMsg, 0);
TextDrawAlignment(XMsg, 1);
TextDrawFont(XMsg, 1);
TextDrawShowForAll(XMsg);
}
for(new line; line<15; line++)
{
TextDrawLetterSize(XMsg, 0.152775, 0.905184);
TextDrawAlignment(XMsg, 1);
TextDrawColor(XMsg, -1);
TextDrawSetShadow(XMsg, 0);
TextDrawSetOutline(XMsg, 0);
TextDrawBackgroundColor(XMsg, 51);
TextDrawBoxColor(XMsg, 0x000000FF);
TextDrawFont(XMsg, 1);
TextDrawSetProportional(XMsg, 1);
}Neke slike/video za lakse dobivanje pomoci(neobavezno):

