new PlayerText:Tutorialdraw[MAX_PLAYERS][4];
//Tutorialdraw
for(new i=0;i<MAX_PLAYERS;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],Farbe_Gelb);
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],Farbe_Gelb);
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,"server");
PlayerTextDrawFont(i,Tutorialdraw[i][3],2);
PlayerTextDrawColor(i,Tutorialdraw[i][3],Farbe_Gelb);
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);
}
Onplayerdisconnect:
for(new i=0;i<3;i++){ PlayerTextDrawDestroy(playerid,Tutorialdraw[playerid][i]); }
Test befehl:
if(strcmp(cmdtext,"/test1",true)==0)
{
for(new i=0;i<4;i++){ PlayerTextDrawShow(i,Tutorialdraw[i][i]);
PlayerTextDrawSetString(i,Tutorialdraw[i][1],"Tutorial - Dein Outfit ... Dein Style!");
PlayerTextDrawSetString(i,Tutorialdraw[i][2],"Der Binco ist einer von vielen Kleidungslaeden in San Andreas~n~Hier kannst du zu jederzeit deinen Charakter wechseln.~n~Die Kleidungslaeden bieten dir eine grosse Auswahl an Skins,~n~sodass du dir dein Leben in einen Traum verwandeln kannst.~n~Mit '/outfit' kannst du in allen Kleiderläden deinen Skin wechseln.~n~~n~~r~");
}
return 1;
}
Es passiert einfach nichts warum?