Hey,
ich krieg 4 Error's:
C:\DOKUME~1\Vinni\Desktop\SAMP-S~1\Server\GAMEMO~1\PIPAPO~1.PWN(1612) : error 076: syntax error in the expression, or invalid function call
C:\DOKUME~1\Vinni\Desktop\SAMP-S~1\Server\GAMEMO~1\PIPAPO~1.PWN(1612) : error 001: expected token: ")", but found ";"
C:\DOKUME~1\Vinni\Desktop\SAMP-S~1\Server\GAMEMO~1\PIPAPO~1.PWN(1612) : error 036: empty statement
C:\DOKUME~1\Vinni\Desktop\SAMP-S~1\Server\GAMEMO~1\PIPAPO~1.PWN(1612) : fatal error 107: too many error messages on one line
Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
4 Errors.
Zeile:
if(Player[playerid][GetPlayerWantedLevel] == 1;//Zeile 1612
{
SetPlayerChatBubble(playerid,"Wanted's: 1\n Grund: %s", COLOR_RED, 20.0, 6000,pGrund);
}
/EDIT:
Ist das überhaupt richtig gescriptet?:
public OnPlayerSpawn(playerid)
{
new WantedSpieler[MAX_PLAYERS];
if(Player[playerid][GetPlayerWantedLevel] == 1;
{
SetPlayerChatBubble(playerid,"Wanted's: 1\n Grund: %s", COLOR_RED, 20.0, 6000,pGrund);
}
else(Player[playerid][GetPlayerWantedLevel] == 2;
{
SetPlayerChatBubble(playerid,"Wanted's: 2\n Grund: %s", COLOR_RED, 20.0, 6000,pGrund);
}
else(Player[playerid][GetPlayerWantedLevel] == 3;
{
SetPlayerChatBubble(playerid,"Wanted's: 3\n Grund: %s", COLOR_RED, 20.0, 6000,pGrund);
}
else(Player[playerid][GetPlayerWantedLevel] == 4;
{
SetPlayerChatBubble(playerid,"Wanted's: 4\n Grund: %s", COLOR_RED, 20.0, 6000,pGrund);
}
else(Player[playerid][GetPlayerWantedLevel] == 5;
{
SetPlayerChatBubble(playerid,"Wanted's: 5\n Grund: %s", COLOR_RED, 20.0, 6000,pGrund);
}
else(Player[playerid][GetPlayerWantedLevel] == 6;
{
SetPlayerChatBubble(playerid,"Wanted's: 6\n Grund: %s", COLOR_RED, 20.0, 6000,pGrund);
}
//EDIT2: Unnötiges entfernt!