Abend community ich habe hier eben 12 fehler bekommen wie kann ich sie beheben ?
C:\Users\DJ_Cry\Desktop\Gh\gamemodes\DorfReallife.pwn(17618) : error 017: undefined symbol "dialogid"
C:\Users\DJ_Cry\Desktop\Gh\gamemodes\DorfReallife.pwn(17620) : error 017: undefined symbol "response"
C:\Users\DJ_Cry\Desktop\Gh\gamemodes\DorfReallife.pwn(17623) : error 017: undefined symbol "listitem"
C:\Users\DJ_Cry\Desktop\Gh\gamemodes\DorfReallife.pwn(17636) : error 017: undefined symbol "listitem"
C:\Users\DJ_Cry\Desktop\Gh\gamemodes\DorfReallife.pwn(17649) : error 017: undefined symbol "listitem"
C:\Users\DJ_Cry\Desktop\Gh\gamemodes\DorfReallife.pwn(17662) : error 017: undefined symbol "listitem"
C:\Users\DJ_Cry\Desktop\Gh\gamemodes\DorfReallife.pwn(17675) : error 017: undefined symbol "listitem"
C:\Users\DJ_Cry\Desktop\Gh\gamemodes\DorfReallife.pwn(17688) : error 017: undefined symbol "listitem"
C:\Users\DJ_Cry\Desktop\Gh\gamemodes\DorfReallife.pwn(17701) : error 017: undefined symbol "listitem"
C:\Users\DJ_Cry\Desktop\Gh\gamemodes\DorfReallife.pwn(17714) : error 017: undefined symbol "listitem"
C:\Users\DJ_Cry\Desktop\Gh\gamemodes\DorfReallife.pwn(17727) : error 017: undefined symbol "listitem"
C:\Users\DJ_Cry\Desktop\Gh\gamemodes\DorfReallife.pwn(17740) : error 017: undefined symbol "listitem"
if(dialogid == BSN)
{
if(response)
{
new Float:health;
if(listitem == 0)
{
if(GetPlayerHealth(playerid, health) >= 100)
{
SendClientMessage(playerid, 0xDBA400FF, "Du bist satt!");
return 1;
}
SendClientMessage(playerid, 0xDBA400FF, "3 Chicken Nuggets für 3$ gekauft, schöne Weiterfahrt.");
GivePlayerMoney(playerid, -3);
GetPlayerHealth(playerid,health);
SetPlayerHealth(playerid, health+5);
UnFreezePlayer(playerid);
}
if(listitem == 1)
{
if(GetPlayerHealth(playerid, health) >= 100)
{
SendClientMessage(playerid, 0xDBA400FF, "Du bist satt!");
return 1;
}
SendClientMessage(playerid, 0xDBA400FF, "12 Chicken Nuggets für 10$ gekauft, schöne Weiterfahrt.");
GivePlayerMoney(playerid, -10);
GetPlayerHealth(playerid,health);
SetPlayerHealth(playerid, health+7);
UnFreezePlayer(playerid);
}
if(listitem == 2)
{
if(GetPlayerHealth(playerid, health) >= 100)
{
SendClientMessage(playerid, 0xDBA400FF, "Du bist satt!");
return 1;
}
SendClientMessage(playerid, 0xDBA400FF, "20 Chicken Nuggets für 10$ gekauft, schöne Weiterfahrt.");
GivePlayerMoney(playerid, -16);
GetPlayerHealth(playerid,health);
SetPlayerHealth(playerid, health+9);
UnFreezePlayer(playerid);
}
if(listitem == 3)
{
if(GetPlayerHealth(playerid, health) >= 100)
{
SendClientMessage(playerid, 0xDBA400FF, "Du bist satt!");
return 1;
}
SendClientMessage(playerid, 0xDBA400FF, "Eine Portion Pommes für 2$ gekauft, schöne Weiterfahrt.");
GivePlayerMoney(playerid, -2);
GetPlayerHealth(playerid,health);
SetPlayerHealth(playerid, health+5);
UnFreezePlayer(playerid);
}
if(listitem == 4)
{
if(GetPlayerHealth(playerid, health) >= 100)
{
SendClientMessage(playerid, 0xDBA400FF, "Du bist satt!");
return 1;
}
SendClientMessage(playerid, 0xDBA400FF, "Einen Cheesburger für 5$ gekauft, schöne Weiterfahrt.");
GivePlayerMoney(playerid, -5);
GetPlayerHealth(playerid,health);
SetPlayerHealth(playerid, health+10);
UnFreezePlayer(playerid);
}
if(listitem == 5)
{
if(GetPlayerHealth(playerid, health) >= 100)
{
SendClientMessage(playerid, 0xDBA400FF, "Du bist satt!");
return 1;
}
SendClientMessage(playerid, 0xDBA400FF, "Einen Chickenburger für 8$ gekauft, schöne Weiterfahrt.");
GivePlayerMoney(playerid, -8);
GetPlayerHealth(playerid,health);
SetPlayerHealth(playerid, health+15);
UnFreezePlayer(playerid);
}
if(listitem == 6)
{
if(GetPlayerHealth(playerid, health) >= 100)
{
SendClientMessage(playerid, 0xDBA400FF, "Du bist satt!");
return 1;
}
SendClientMessage(playerid, 0xDBA400FF, "Einen Big Mac für 10$ gekauft, schöne Weiterfahrt.");
GivePlayerMoney(playerid, -10);
GetPlayerHealth(playerid,health);
SetPlayerHealth(playerid, health+30);
UnFreezePlayer(playerid);
}
if(listitem == 7)
{
if(GetPlayerHealth(playerid, health) >= 100)
{
SendClientMessage(playerid, 0xDBA400FF, "Du bist satt!");
return 1;
}
SendClientMessage(playerid, 0xDBA400FF, "Eine Cola für 3$ gekauft, schöne Weiterfahrt.");
GivePlayerMoney(playerid, -3);
GetPlayerHealth(playerid,health);
SetPlayerHealth(playerid, health+5);
UnFreezePlayer(playerid);
}
if(listitem == 8)
{
if(GetPlayerHealth(playerid, health) >= 100)
{
SendClientMessage(playerid, 0xDBA400FF, "Du bist satt!");
return 1;
}
SendClientMessage(playerid, 0xDBA400FF, "Eine Fanta für 3$ gekauft, schöne Weiterfahrt.");
GivePlayerMoney(playerid, -3);
GetPlayerHealth(playerid,health);
SetPlayerHealth(playerid, health+5);
UnFreezePlayer(playerid);
}
if(listitem == 9)
{
if(GetPlayerHealth(playerid, health) >= 10000)
{
SendClientMessage(playerid, 0xDBA400FF, "Du bist satt!");
return 1;
}
SendClientMessage(playerid, 0xDBA400FF, "Eine Sprite für 3$ gekauft, schöne Weiterfahrt.");
GivePlayerMoney(playerid, -3);
GetPlayerHealth(playerid,health);
SetPlayerHealth(playerid, health+50);
UnFreezePlayer(playerid);
}
}
}