Was kann der Fehler sein ???
Hier mal die stellen aus mein script:
Enum:
enum sFirmaInfo
{
FPickup,
FText
}
new FirmaInfo[MAX_FIRMA][sFirmaInfo];
Warnings:
C:\Users\Ingo\Desktop\selfmade.pwn(258) : warning 213: tag mismatch
C:\Users\Ingo\Desktop\selfmade.pwn(267) : warning 213: tag mismatch
OnGameModInit:
public OnGameModInit
{
for(new f;f<MAX_FIRMA;f++)
{
if(FirmaInfo[f][owend] == 0)
{
/*CreatePickup(1272, 1, FirmaInfo[f][PosX], FirmaInfo[f][PosY], FirmaInfo[f][PosZ]);
Create3DTextLabel(string, 0x008080FF, FirmaInfo[f][PosX], FirmaInfo[f][PosY], FirmaInfo[f][PosZ], 55.0, 0, 0);*/
new string[256];
format(string,sizeof(string),"[FIRMA]\nName: %s\nPreis: %d €\nGeschäft zu verkaufen\nBefehl: /buyfirma",FirmaInfo[f][FirmaName],FirmaInfo[f][Preis]);
FirmaInfo[f][FPickup] = CreateDynamicPickup(1272, 1, FirmaInfo[f][PosX], FirmaInfo[f][PosY], FirmaInfo[f][PosZ],-1);
FirmaInfo[f][FText] = Create3DTextLabel(string,0xFFDC00FF,FirmaInfo[f][PosX], FirmaInfo[f][PosY], FirmaInfo[f][PosZ], 55.0, 0 ,0); <<<----- Die Zeile
}
if(FirmaInfo[f][owend] == 1)
{
/*CreatePickup(1239, 1, FirmaInfo[f][PosX], FirmaInfo[f][PosY], FirmaInfo[f][PosZ]);
Create3DTextLabel(string, 0x008080FF, FirmaInfo[f][PosX], FirmaInfo[f][PosY], FirmaInfo[f][PosZ], 55.0, 0, 0);*/
new string[256];
format(string,sizeof(string),"Name: %s\nBesitzer: %s\nTeilinhaber: %s",FirmaInfo[f][FirmaName],FirmaInfo[f][Owner],FirmaInfo[f][CoOwner]);
FirmaInfo[f][FPickup] = CreateDynamicPickup(1239, 1, FirmaInfo[f][PosX], FirmaInfo[f][PosY], FirmaInfo[f][PosZ],-1);
FirmaInfo[f][FText] = Create3DTextLabel(string,0xFFDC00FF,FirmaInfo[f][PosX], FirmaInfo[f][PosY], FirmaInfo[f][PosZ], 55.0,0,0); <<<----- Die Zeile
}
}
}
Hier im Forum ist im Enum nicht alles ein Getragen im Script schon .
Bitte um hilfe