Ich habe so eben ein Bug gefunden Oo
Wieso wird mein Textdraw nur mit ID 0 angezeigt?
So habe ich die erstellt
new Text:Start;
new Text:SSO;
new Text:SSU;
//------------------OnPlayerConnect
TextDrawShowForPlayer(playerid, SSO);
TextDrawShowForPlayer(playerid, SSU);
TextDrawShowForPlayer(playerid, Start);
//OnPlayerSpawn==========
TextDrawDestroy(SSU);
TextDrawDestroy(SSO);
TextDrawDestroy(Start);
//Ongame....------------
SSO = TextDrawCreate(645.000000,101.000000,"___");
SSU = TextDrawCreate(1.000000,328.000000,"____");
TextDrawUseBox(SSO,1);
TextDrawBoxColor(SSO,0x000000ff);
TextDrawTextSize(SSO,-260.000000,17.000000);
TextDrawUseBox(SSU,1);
TextDrawBoxColor(SSU,0x000000ff);
TextDrawTextSize(SSU,680.000000,0.000000);
TextDrawAlignment(SSO,0);
TextDrawAlignment(SSU,0);
TextDrawBackgroundColor(SSO,0x000000ff);
TextDrawBackgroundColor(SSU,0x000000ff);
TextDrawFont(SSO,3);
TextDrawLetterSize(SSO,1.000000,-14.000000);
TextDrawFont(SSU,3);
TextDrawLetterSize(SSU,1.000000,20.000000);
TextDrawColor(SSO,0xffffffff);
TextDrawColor(SSU,0xffffffff);
TextDrawSetOutline(SSO,1);
TextDrawSetOutline(SSU,1);
TextDrawSetShadow(SSO,1);
TextDrawSetShadow(SSU,1);
Start = TextDrawCreate(175,310,"Stunt | Fun | DM | Party");
TextDrawAlignment(Start,0);
TextDrawBackgroundColor(Start,0x000000ff);
TextDrawFont(Start,2);
TextDrawLetterSize(Start,0.499999,1.100000);
TextDrawColor(Start,0xCCFF00FF);
TextDrawSetOutline(Start,1);
TextDrawSetProportional(Start,1);
TextDrawSetShadow(Start,1);
new Text:SSO;
new Text:SSU;
//------------------OnPlayerConnect
TextDrawShowForPlayer(playerid, SSO);
TextDrawShowForPlayer(playerid, SSU);
TextDrawShowForPlayer(playerid, Start);
//OnPlayerSpawn==========
TextDrawDestroy(SSU);
TextDrawDestroy(SSO);
TextDrawDestroy(Start);
//Ongame....------------
SSO = TextDrawCreate(645.000000,101.000000,"___");
SSU = TextDrawCreate(1.000000,328.000000,"____");
TextDrawUseBox(SSO,1);
TextDrawBoxColor(SSO,0x000000ff);
TextDrawTextSize(SSO,-260.000000,17.000000);
TextDrawUseBox(SSU,1);
TextDrawBoxColor(SSU,0x000000ff);
TextDrawTextSize(SSU,680.000000,0.000000);
TextDrawAlignment(SSO,0);
TextDrawAlignment(SSU,0);
TextDrawBackgroundColor(SSO,0x000000ff);
TextDrawBackgroundColor(SSU,0x000000ff);
TextDrawFont(SSO,3);
TextDrawLetterSize(SSO,1.000000,-14.000000);
TextDrawFont(SSU,3);
TextDrawLetterSize(SSU,1.000000,20.000000);
TextDrawColor(SSO,0xffffffff);
TextDrawColor(SSU,0xffffffff);
TextDrawSetOutline(SSO,1);
TextDrawSetOutline(SSU,1);
TextDrawSetShadow(SSO,1);
TextDrawSetShadow(SSU,1);
Start = TextDrawCreate(175,310,"Stunt | Fun | DM | Party");
TextDrawAlignment(Start,0);
TextDrawBackgroundColor(Start,0x000000ff);
TextDrawFont(Start,2);
TextDrawLetterSize(Start,0.499999,1.100000);
TextDrawColor(Start,0xCCFF00FF);
TextDrawSetOutline(Start,1);
TextDrawSetProportional(Start,1);
TextDrawSetShadow(Start,1);
Woran liegt'en das ?
MfG
Ed_Hardy