Hallo Leute,
ich habe 2 Warnings in Script bei denen ich einfach nicht weiß wo der Fehler liegt -.- Bin noch nicht so lang am Scripten
new Text3D:GM3D[MAX_PLAYERS];
public CheckWantedText()
{
new string[126];
for(new i=0; i < MAX_PLAYERS; i++)
{
if(IsPlayerConnected(i))
{
if(WantedLevel[i] > 0)
{
format(string, sizeof(string), "[%d] %s\n Wanteds: %d\n \n",i,spName(i),WantedLevel[i]);
GM3D[i] = Create3DTextLabel(string,0xB70000FF,0,0,0,70.5,1);
if(WantedLevel[i] == 1)
{
Attach3DTextLabelToPlayer(GM3D[i], i, 0.0, 0.0, 0.45);
}
else if(WantedLevel[i] > 1)
{
UpdatePlayer3DTextLabelText(i,GM3D[i],0xB70000FF,string); //<-- Warning:213: tag mismatch
}
}
else
{
DeletePlayer3DTextLabel(i,GM3D[i]); //<-- Warning:213: tag mismatch
}
}
}
}
MfG Taper