Hallo Freunde, ich habe ein System gescriptet, das den Server-Namen und die Textdrawfarbe ändern sollte für meinen Server, doch
wenn ich mein Script compile sagt er mir 40 Warnings, meine Frage ist warum ?
Ich finde den Fehler nicht.
C:\Users\Steffen\Desktop\SuN Sunshine Revival\gamemodes\sun-selfmade.pwn(4165) : warning 213: tag mismatch
C:\Users\Steffen\Desktop\SuN Sunshine Revival\gamemodes\sun-selfmade.pwn(4166) : warning 213: tag mismatch
C:\Users\Steffen\Desktop\SuN Sunshine Revival\gamemodes\sun-selfmade.pwn(4167) : warning 213: tag mismatch
C:\Users\Steffen\Desktop\SuN Sunshine Revival\gamemodes\sun-selfmade.pwn(4176) : warning 213: tag mismatch
C:\Users\Steffen\Desktop\SuN Sunshine Revival\gamemodes\sun-selfmade.pwn(4177) : warning 213: tag mismatch
C:\Users\Steffen\Desktop\SuN Sunshine Revival\gamemodes\sun-selfmade.pwn(4178) : warning 213: tag mismatch
C:\Users\Steffen\Desktop\SuN Sunshine Revival\gamemodes\sun-selfmade.pwn(4187) : warning 213: tag mismatch
C:\Users\Steffen\Desktop\SuN Sunshine Revival\gamemodes\sun-selfmade.pwn(4188) : warning 213: tag mismatch
C:\Users\Steffen\Desktop\SuN Sunshine Revival\gamemodes\sun-selfmade.pwn(4189) : warning 213: tag mismatch
C:\Users\Steffen\Desktop\SuN Sunshine Revival\gamemodes\sun-selfmade.pwn(4198) : warning 213: tag mismatch
C:\Users\Steffen\Desktop\SuN Sunshine Revival\gamemodes\sun-selfmade.pwn(4199) : warning 213: tag mismatch
C:\Users\Steffen\Desktop\SuN Sunshine Revival\gamemodes\sun-selfmade.pwn(4200) : warning 213: tag mismatch
C:\Users\Steffen\Desktop\SuN Sunshine Revival\gamemodes\sun-selfmade.pwn(4209) : warning 213: tag mismatch
C:\Users\Steffen\Desktop\SuN Sunshine Revival\gamemodes\sun-selfmade.pwn(4210) : warning 213: tag mismatch
C:\Users\Steffen\Desktop\SuN Sunshine Revival\gamemodes\sun-selfmade.pwn(4211) : warning 213: tag mismatch
C:\Users\Steffen\Desktop\SuN Sunshine Revival\gamemodes\sun-selfmade.pwn(4220) : warning 213: tag mismatch
C:\Users\Steffen\Desktop\SuN Sunshine Revival\gamemodes\sun-selfmade.pwn(4221) : warning 213: tag mismatch
C:\Users\Steffen\Desktop\SuN Sunshine Revival\gamemodes\sun-selfmade.pwn(4222) : warning 213: tag mismatch
C:\Users\Steffen\Desktop\SuN Sunshine Revival\gamemodes\sun-selfmade.pwn(4231) : warning 213: tag mismatch
C:\Users\Steffen\Desktop\SuN Sunshine Revival\gamemodes\sun-selfmade.pwn(4232) : warning 213: tag mismatch
C:\Users\Steffen\Desktop\SuN Sunshine Revival\gamemodes\sun-selfmade.pwn(4233) : warning 213: tag mismatch
C:\Users\Steffen\Desktop\SuN Sunshine Revival\gamemodes\sun-selfmade.pwn(5951) : warning 213: tag mismatch
C:\Users\Steffen\Desktop\SuN Sunshine Revival\gamemodes\sun-selfmade.pwn(5952) : warning 213: tag mismatch
C:\Users\Steffen\Desktop\SuN Sunshine Revival\gamemodes\sun-selfmade.pwn(5953) : warning 213: tag mismatch
C:\Users\Steffen\Desktop\SuN Sunshine Revival\gamemodes\sun-selfmade.pwn(5954) : warning 213: tag mismatch
C:\Users\Steffen\Desktop\SuN Sunshine Revival\gamemodes\sun-selfmade.pwn(5955) : warning 213: tag mismatch
C:\Users\Steffen\Desktop\SuN Sunshine Revival\gamemodes\sun-selfmade.pwn(5956) : warning 213: tag mismatch
C:\Users\Steffen\Desktop\SuN Sunshine Revival\gamemodes\sun-selfmade.pwn(5957) : warning 213: tag mismatch
C:\Users\Steffen\Desktop\SuN Sunshine Revival\gamemodes\sun-selfmade.pwn(5958) : warning 213: tag mismatch
C:\Users\Steffen\Desktop\SuN Sunshine Revival\gamemodes\sun-selfmade.pwn(5960) : warning 213: tag mismatch
C:\Users\Steffen\Desktop\SuN Sunshine Revival\gamemodes\sun-selfmade.pwn(5961) : warning 213: tag mismatch
C:\Users\Steffen\Desktop\SuN Sunshine Revival\gamemodes\sun-selfmade.pwn(5962) : warning 213: tag mismatch
C:\Users\Steffen\Desktop\SuN Sunshine Revival\gamemodes\sun-selfmade.pwn(5963) : warning 213: tag mismatch
C:\Users\Steffen\Desktop\SuN Sunshine Revival\gamemodes\sun-selfmade.pwn(5964) : warning 213: tag mismatch
C:\Users\Steffen\Desktop\SuN Sunshine Revival\gamemodes\sun-selfmade.pwn(5965) : warning 213: tag mismatch
C:\Users\Steffen\Desktop\SuN Sunshine Revival\gamemodes\sun-selfmade.pwn(5966) : warning 213: tag mismatch
C:\Users\Steffen\Desktop\SuN Sunshine Revival\gamemodes\sun-selfmade.pwn(5967) : warning 213: tag mismatch
C:\Users\Steffen\Desktop\SuN Sunshine Revival\gamemodes\sun-selfmade.pwn(62039) : warning 213: tag mismatch
C:\Users\Steffen\Desktop\SuN Sunshine Revival\gamemodes\sun-selfmade.pwn(62040) : warning 213: tag mismatch
Die Zeilen gehen vom ganzen public aus.
Hier der public
public GamemodeColorAender()
{
if(ColorChanger==1)
{
for(new i = 0;i<MAX_PLAYERS;i++)
{
TextDrawHideForPlayer(i,SunScriptDraw[0]);
TextDrawShowForPlayer(i,SunScriptDraw[0]);
TextDrawColor(SunScriptDraw[0],COLOR_YELLOW);
}
ColorChanger=2;
SendRconCommand("hostname Deutscher Reallife Server by [SuN]");
}
else if(ColorChanger == 2)
{
for(new i = 0;i<MAX_PLAYERS;i++)
{
TextDrawHideForPlayer(i,SunScriptDraw[0]);
TextDrawShowForPlayer(i,SunScriptDraw[0]);
TextDrawColor(SunScriptDraw[0],0x8C6500FF);
}
ColorChanger=3;
SendRconCommand("hostname German Sunshine Reallife 1.0");
}
else if(ColorChanger == 3)
{
for(new i = 0;i<MAX_PLAYERS;i++)
{
TextDrawHideForPlayer(i,SunScriptDraw[0]);
TextDrawShowForPlayer(i,SunScriptDraw[0]);
TextDrawColor(SunScriptDraw[0],COLOR_WHITE);
}
ColorChanger=4;
SendRconCommand("hostname It's SuN Time");
}
else if(ColorChanger == 4)
{
for(new i = 0;i<MAX_PLAYERS;i++)
{
TextDrawHideForPlayer(i,SunScriptDraw[0]);
TextDrawShowForPlayer(i,SunScriptDraw[0]);
TextDrawColor(SunScriptDraw[0],LichtGruen);
}
ColorChanger=5;
SendRconCommand("hostname German Sunshine Reallife | It's SuN Time");
}
else if(ColorChanger == 5)
{
for(new i = 0;i<MAX_PLAYERS;i++)
{
TextDrawHideForPlayer(i,SunScriptDraw[0]);
TextDrawShowForPlayer(i,SunScriptDraw[0]);
TextDrawColor(SunScriptDraw[0],0xFF9600FF);
}
ColorChanger=6;
SendRconCommand("hostname German Reallife by SuN | 0.3z");
}
else if(ColorChanger == 6)
{
for(new i = 0;i<MAX_PLAYERS;i++)
{
TextDrawHideForPlayer(i,SunScriptDraw[0]);
TextDrawShowForPlayer(i,SunScriptDraw[0]);
TextDrawColor(SunScriptDraw[0],COLOR_DBLUE);
}
ColorChanger=7;
SendRconCommand("hostname German Sunshine Reallife | Einzigartiges Reallife");
}
else if(ColorChanger == 7)
{
for(new i = 0;i<MAX_PLAYERS;i++)
{
TextDrawHideForPlayer(i,SunScriptDraw[0]);
TextDrawShowForPlayer(i,SunScriptDraw[0]);
TextDrawColor(SunScriptDraw[0],COLOR_BRIGHTRED);
}
ColorChanger=1;
SendRconCommand("hostname Deutscher Server | Leader gesucht");
}
return 1;
}
Hat sich hier ein Fehler eingeschlichen.
TextDrawHideForPlayer(i,SunScriptDraw[0]);
TextDrawShowForPlayer(i,SunScriptDraw[0]);
TextDrawColor(SunScriptDraw[0],COLOR_BRIGHTRED);