D:\\LesterFun\\gamemodes\\lester.pwn(254) : warning 202: number of arguments does not match definitionD:\\LesterFun\\gamemodes\\lester.pwn(255) : warning 225: unreachable codeD:\\LesterFun\\gamemodes\\lester.pwn(261) : warning 202: number of arguments does not match definitionD:\\LesterFun\\gamemodes\\lester.pwn(262) : warning 225: unreachable codeD:\\LesterFun\\gamemodes\\lester.pwn(268) : warning 202: number of arguments does not match definitionD:\\LesterFun\\gamemodes\\lester.pwn(269) : warning 225: unreachable codeD:\\LesterFun\\gamemodes\\lester.pwn(275) : warning 202: number of arguments does not match definitionD:\\LesterFun\\gamemodes\\lester.pwn(276) : warning 225: unreachable codeD:\\LesterFun\\gamemodes\\lester.pwn(282) : warning 202: number of arguments does not match definitionD:\\LesterFun\\gamemodes\\lester.pwn(283) : warning 225: unreachable codeD:\\LesterFun\\gamemodes\\lester.pwn(289) : warning 202: number of arguments does not match definitionD:\\LesterFun\\gamemodes\\lester.pwn(290) : warning 225: unreachable codeD:\\LesterFun\\gamemodes\\lester.pwn(296) : warning 202: number of arguments does not match definitionD:\\LesterFun\\gamemodes\\lester.pwn(297) : warning 225: unreachable codeD:\\LesterFun\\gamemodes\\lester.pwn(303) : warning 202: number of arguments does not match definitionD:\\LesterFun\\gamemodes\\lester.pwn(304) : warning 225: unreachable codeD:\\LesterFun\\gamemodes\\lester.pwn(312) : warning 209: function \"OnDialogResponse\" should return a valuePawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[]){if(dialogid == DIALOG_PIA){ if(response) { if(listitem == 0) { GetPlayerMoney(playerid, 500); return SendClientMessage(playerid, red, \"Nincs elég pénzed!\"); SendClientMessage(playerid, green, \"Vettél egy üveg Sört\"); GivePlayerMoney(playerid, -500); SetPlayerSpecialAction(playerid, SPECIAL_ACTION_DRINK_WINE); } if(listitem == 1) { GetPlayerMoney(playerid, 500); return SendClientMessage(playerid, red, \"Nincs elég pénzed!\"); SendClientMessage(playerid, green, \"Vettél egy üveg Pálinkát\"); GivePlayerMoney(playerid, -500); SetPlayerSpecialAction(playerid, SPECIAL_ACTION_DRINK_BEER); } if(listitem == 2) { GetPlayerMoney(playerid, 500); return SendClientMessage(playerid, red, \"Nincs elég pénzed!\"); SendClientMessage(playerid, green, \"Vettél egy üveg Bort\"); GivePlayerMoney(playerid, -500); SetPlayerSpecialAction(playerid, SPECIAL_ACTION_DRINK_BEER); } if(listitem == 3) { GetPlayerMoney(playerid, 500); return SendClientMessage(playerid, red, \"Nincs elég pénzed!\"); SendClientMessage(playerid, green, \"Vettél egy üveg Jägert\"); GivePlayerMoney(playerid, -500); SetPlayerSpecialAction(playerid, SPECIAL_ACTION_DRINK_BEER); } if(listitem == 4) { GetPlayerMoney(playerid, 500); return SendClientMessage(playerid, red, \"Nincs elég pénzed!\"); SendClientMessage(playerid, green, \"Vettél egy üveg Whiskeyt\"); GivePlayerMoney(playerid, -500); SetPlayerSpecialAction(playerid, SPECIAL_ACTION_DRINK_BEER); } if(listitem == 5) { GetPlayerMoney(playerid, 500); return SendClientMessage(playerid, red, \"Nincs elég pénzed!\"); SendClientMessage(playerid, green, \"Vettél egy pohár vizet\"); GivePlayerMoney(playerid, -500); SetPlayerSpecialAction(playerid, SPECIAL_ACTION_DRINK_BEER); } if(listitem == 6) { GetPlayerMoney(playerid, 500); return SendClientMessage(playerid, red, \"Nincs elég pénzed!\"); SendClientMessage(playerid, green, \"Vettél egy pohár Cola-t\"); GivePlayerMoney(playerid, -500); SetPlayerSpecialAction(playerid, SPECIAL_ACTION_DRINK_BEER); } if(listitem == 7) { GetPlayerMoney(playerid, 500); return SendClientMessage(playerid, red, \"Nincs elég pénzed!\"); SendClientMessage(playerid, green, \"Vettél egy pohár Fantát\"); GivePlayerMoney(playerid, -500); SetPlayerSpecialAction(playerid, SPECIAL_ACTION_DRINK_BEER); } } }else{ SendClientMessage(playerid, 0xFF0606FF, \"Kiléptél egy pohár Fantát\");}}
public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[]){ if(dialogid == DIALOG_PIA) { if(response) { if(listitem == 0) { if(GetPlayerMoney(playerid) < 500) return SendClientMessage(playerid, red, \"Nincs elég pénzed!\"); SendClientMessage(playerid, green, \"Vettél egy üveg Sört\"); GivePlayerMoney(playerid, -500); SetPlayerSpecialAction(playerid, SPECIAL_ACTION_DRINK_WINE); } if(listitem == 1) { if(GetPlayerMoney(playerid) < 500) return SendClientMessage(playerid, red, \"Nincs elég pénzed!\"); SendClientMessage(playerid, green, \"Vettél egy üveg Pálinkát\"); GivePlayerMoney(playerid, -500); SetPlayerSpecialAction(playerid, SPECIAL_ACTION_DRINK_BEER); } if(listitem == 2) { if(GetPlayerMoney(playerid) < 500) return SendClientMessage(playerid, red, \"Nincs elég pénzed!\"); SendClientMessage(playerid, green, \"Vettél egy üveg Bort\"); GivePlayerMoney(playerid, -500); SetPlayerSpecialAction(playerid, SPECIAL_ACTION_DRINK_BEER); } if(listitem == 3) { if(GetPlayerMoney(playerid) < 500) return SendClientMessage(playerid, red, \"Nincs elég pénzed!\"); SendClientMessage(playerid, green, \"Vettél egy üveg Jägert\"); GivePlayerMoney(playerid, -500); SetPlayerSpecialAction(playerid, SPECIAL_ACTION_DRINK_BEER); } if(listitem == 4) { if(GetPlayerMoney(playerid) < 500) return SendClientMessage(playerid, red, \"Nincs elég pénzed!\"); SendClientMessage(playerid, green, \"Vettél egy üveg Whiskeyt\"); GivePlayerMoney(playerid, -500); SetPlayerSpecialAction(playerid, SPECIAL_ACTION_DRINK_BEER); } if(listitem == 5) { if(GetPlayerMoney(playerid) < 500) return SendClientMessage(playerid, red, \"Nincs elég pénzed!\"); SendClientMessage(playerid, green, \"Vettél egy pohár vizet\"); GivePlayerMoney(playerid, -500); SetPlayerSpecialAction(playerid, SPECIAL_ACTION_DRINK_BEER); } if(listitem == 6) { if(GetPlayerMoney(playerid) < 500) return SendClientMessage(playerid, red, \"Nincs elég pénzed!\"); SendClientMessage(playerid, green, \"Vettél egy pohár Cola-t\"); GivePlayerMoney(playerid, -500); SetPlayerSpecialAction(playerid, SPECIAL_ACTION_DRINK_BEER); } if(listitem == 7) { if(GetPlayerMoney(playerid) < 500) return SendClientMessage(playerid, red, \"Nincs elég pénzed!\"); SendClientMessage(playerid, green, \"Vettél egy pohár Fantát\"); GivePlayerMoney(playerid, -500); SetPlayerSpecialAction(playerid, SPECIAL_ACTION_DRINK_BEER); } } }else{ SendClientMessage(playerid, 0xFF0606FF, \"Kiléptél egy pohár Fantát\"); }}
D:\\LesterFun\\pawno\\include\\YSI\\y_utils.inc(76) : error 017: undefined symbol \"TRUE\"
#include <YSI\\y_ini>