Wieso kommt kein text InGame ?
new PlayerText:Tutorialdraw[MAX_PLAYERS][4];
OnPlayerDisconnect
for(new i=0;i<3;i++){ PlayerTextDrawDestroy(playerid,Tutorialdraw[playerid][i]); }
TEXTDRAWS:
for(new i=0;i<4;i++)
{
Tutorialdraw[i][0] = CreatePlayerTextDraw(i,160,145,"~n~~n~~n~~n~~n~~n~~n~~n~~n~~n~~n~~n~~n~~n~~n~~n~~n~~n~~n~~n~~n~~n~~n~~n~~n~~n~~n~");
PlayerTextDrawUseBox(i,Tutorialdraw[i][0],1);
PlayerTextDrawBoxColor(i,Tutorialdraw[i][0],0x00000067);
PlayerTextDrawBackgroundColor(i,Tutorialdraw[i][0],0x000000ff);
PlayerTextDrawTextSize(i,Tutorialdraw[i][0],480,290);
PlayerTextDrawLetterSize(i,Tutorialdraw[i][0],0.400000,0.599990);
PlayerTextDrawSetShadow(i,Tutorialdraw[i][0],1);
Tutorialdraw[i][1] = CreatePlayerTextDraw(i,160,145,"_");
PlayerTextDrawFont(i,Tutorialdraw[i][1],0);
PlayerTextDrawColor(i,Tutorialdraw[i][1],255);
PlayerTextDrawAlignment(i,Tutorialdraw[i][1],0);
PlayerTextDrawLetterSize(i,Tutorialdraw[i][1],0.499990,1.499990);
PlayerTextDrawSetOutline(i,Tutorialdraw[i][1],1);
PlayerTextDrawSetProportional(i,Tutorialdraw[i][1],1);
PlayerTextDrawSetShadow(i,Tutorialdraw[i][1],1);
Tutorialdraw[i][2] = CreatePlayerTextDraw(i,160,165,"_");
PlayerTextDrawFont(i,Tutorialdraw[i][2],2);
PlayerTextDrawColor(i,Tutorialdraw[i][2],75);
PlayerTextDrawAlignment(i,Tutorialdraw[i][2],0);
PlayerTextDrawLetterSize(i,Tutorialdraw[i][2],0.200000,0.799990);
PlayerTextDrawSetProportional(i,Tutorialdraw[i][2],1);
PlayerTextDrawSetShadow(i,Tutorialdraw[i][2],1);
Tutorialdraw[i][3] = CreatePlayerTextDraw(i,290,240,"saa");
PlayerTextDrawFont(i,Tutorialdraw[i][3],2);
PlayerTextDrawColor(i,Tutorialdraw[i][3],44);
PlayerTextDrawAlignment(i,Tutorialdraw[i][3],0);
PlayerTextDrawLetterSize(i,Tutorialdraw[i][3],1.0,3.5);
PlayerTextDrawSetOutline(i,Tutorialdraw[i][3],1);
PlayerTextDrawSetProportional(i,Tutorialdraw[i][3],1);
PlayerTextDrawSetShadow(i,Tutorialdraw[i][3],1);
}
if(strcmp("/tutoriall", cmd, true) == 0)
{
if(PlayerInfo[playerid][pAdmin] == 2000)
{
TextDrawShowForPlayer(playerid, TutorialBOX);
TextDrawShowForPlayer(playerid, TutorialUeberschrift);
for(new i=0;i<4;i++){ PlayerTextDrawShow(playerid,Tutorialdraw[playerid][i]); }
PlayerTextDrawSetString(playerid,Tutorialdraw[playerid][1],"teest");
PlayerTextDrawSetString(playerid,Tutorialdraw[playerid][2],"Test1..23");
}
return 1;
}
Wieso erscheint nix InGame kein text? :o