Hier ist der Fehler Weiß nicht Warum?
habe diesen Stock erstellt:
stock WantedShow(playerid)//errorzeile
{
if(WantedPoints[playerid] == 0)
{
return 1;
}
if(WantedPoints[playerid] == 1)
{
SetPlayerChatBubble(playerid,"WantedLevel: 1", COLOR_YELLOW, 20.0, 6000);
return 1;
}
if(WantedPoints[playerid] == 2)
{
SetPlayerChatBubble(playerid,"WantedLevel: 2", COLOR_YELLOW, 20.0, 6000);
return 1;
}
if(WantedPoints[playerid] == 3)
{
SetPlayerChatBubble(playerid,"WantedLevel: 3", COLOR_YELLOW, 20.0, 6000);
return 1;
}
if(WantedPoints[playerid] == 4)
{
SetPlayerChatBubble(playerid,"WantedLevel: 4", COLOR_YELLOW, 20.0, 6000);
return 1;
}
if(WantedPoints[playerid] == 5)
{
SetPlayerChatBubble(playerid,"WantedLevel: 5", COLOR_YELLOW, 20.0, 6000);
return 1;
}
if(WantedPoints[playerid] == 6)
{
SetPlayerChatBubble(playerid,"WantedLevel: 6", COLOR_YELLOW, 20.0, 6000);
return 1;
}
return 1;
}
irgendiwe Failt das Why?
Hier frage ich es ab:
public PayDayCount(playerid)
{
PlayerInfo[playerid][pPayDayTime] ++;
PlayerInfo[playerid][pConnectTimeM] ++;
if(PlayerInfo[playerid][pPayDayTime] >= 60)
{
PayDay(playerid);
PlayerInfo[playerid][pPayDayTime] = 0;
}
if (IsPlayerInFrac(playerid,8))
{
for (new i = 0, j = MAX_PLAYERS; i < j; i ++)
{
ShowPlayerNameTagForPlayer(i, playerid, 0);
}
}
WantedShow(playerid);
}
//edit Quellcode