Megkérnék minden kedves témanyitót, ha kérdésére/kérésére választ kapott, akkor legyen szíves használni, a \"Téma megoldva\" funkciót![/quote][/mod]Üdv. kamionost josgit akarok csinálni a módba már benne van de errort ír hol a hiba valaki help C:\\Documents and Settings\\Rendszergazda\\Asztal\\cd\\pawno\\include\\PPC_Dialogs.inc(247) : error 017: undefined symbol \"TruckLicense\"C:\\Documents and Settings\\Rendszergazda\\Asztal\\cd\\pawno\\include\\PPC_Dialogs.inc(255) : error 017: undefined symbol \"TruckLicense\"C:\\Documents and Settings\\Rendszergazda\\Asztal\\cd\\pawno\\include\\PPC_Dialogs.inc(269) : error 002: only a single statement (or expression) can follow each \"case\"C:\\Documents and Settings\\Rendszergazda\\Asztal\\cd\\pawno\\include\\PPC_Dialogs.inc(269) : warning 215: expression has no effectC:\\Documents and Settings\\Rendszergazda\\Asztal\\cd\\pawno\\include\\PPC_Dialogs.inc(270) : warning 209: function \"Dialog_BuyLicenses\" should return a valuePawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase 3 Errors. És az incelede }case 2: // Player wants to buy a Truckingdriver license{ // Check if the player is a Truckingriver if (APlayerData[playerid][PlayerClass] == ClassTruckDriver) { // Check if the player hasn\'t acquired his Truckingriver\'s license yet if (APlayerData[playerid][TruckLicense] == 0) { // Check if the player has enough money and enough score if ((APlayerData[playerid][PlayerMoney] >= 250000) && (APlayerData[playerid][PlayerScore] >= 100)) { // Withdraw the money and score from the player\'s account RewardPlayer(playerid, -250000, -100); // Give the player the busdriver\'s license APlayerData[playerid][TruckLicense] = 1; // Let the player know he acquired his busdriver\'s license SendClientMessage(playerid, 0xFFFFFFFF, \"{00FF00}Megszerezted a kamionos jogositványt.\"); } else SendClientMessage(playerid, 0xFFFFFFFF, \"{00FF00}Nincs elég pénzed vagy pontod.\"); } else SendClientMessage(playerid, 0xFFFFFFFF, \"{00FF00}Már megvan a Kamionos jogositványod.\"); } else SendClientMessage(playerid, 0xFFFFFFFF, \"{00FF00}Kamionos söfõrnek kell lenned hogy megtudd venni a jogositványt.\");}return 1;}
C:\\Documents and Settings\\Rendszergazda\\Asztal\\cd\\pawno\\include\\PPC_Dialogs.inc(247) : error 017: undefined symbol \"TruckLicense\"C:\\Documents and Settings\\Rendszergazda\\Asztal\\cd\\pawno\\include\\PPC_Dialogs.inc(255) : error 017: undefined symbol \"TruckLicense\"C:\\Documents and Settings\\Rendszergazda\\Asztal\\cd\\pawno\\include\\PPC_Dialogs.inc(269) : error 002: only a single statement (or expression) can follow each \"case\"C:\\Documents and Settings\\Rendszergazda\\Asztal\\cd\\pawno\\include\\PPC_Dialogs.inc(269) : warning 215: expression has no effectC:\\Documents and Settings\\Rendszergazda\\Asztal\\cd\\pawno\\include\\PPC_Dialogs.inc(270) : warning 209: function \"Dialog_BuyLicenses\" should return a valuePawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase 3 Errors.
}case 2: // Player wants to buy a Truckingdriver license{ // Check if the player is a Truckingriver if (APlayerData[playerid][PlayerClass] == ClassTruckDriver) { // Check if the player hasn\'t acquired his Truckingriver\'s license yet if (APlayerData[playerid][TruckLicense] == 0) { // Check if the player has enough money and enough score if ((APlayerData[playerid][PlayerMoney] >= 250000) && (APlayerData[playerid][PlayerScore] >= 100)) { // Withdraw the money and score from the player\'s account RewardPlayer(playerid, -250000, -100); // Give the player the busdriver\'s license APlayerData[playerid][TruckLicense] = 1; // Let the player know he acquired his busdriver\'s license SendClientMessage(playerid, 0xFFFFFFFF, \"{00FF00}Megszerezted a kamionos jogositványt.\"); } else SendClientMessage(playerid, 0xFFFFFFFF, \"{00FF00}Nincs elég pénzed vagy pontod.\"); } else SendClientMessage(playerid, 0xFFFFFFFF, \"{00FF00}Már megvan a Kamionos jogositványod.\"); } else SendClientMessage(playerid, 0xFFFFFFFF, \"{00FF00}Kamionos söfõrnek kell lenned hogy megtudd venni a jogositványt.\");}return 1;}
case 2: // Player wants to buy a Truckingdriver license { // Check if the player is a Truckingriver if (APlayerData[playerid][PlayerClass] == ClassTruckDriver) { // Check if the player hasn\'t acquired his Truckingriver\'s license yet if (APlayerData[playerid][TruckerLicense] == 0) { // Check if the player has enough money and enough score if ((APlayerData[playerid][PlayerMoney] >= 250000) && (APlayerData[playerid][PlayerScore] >= 100)) { // Withdraw the money and score from the player\'s account RewardPlayer(playerid, -250000, -100); // Give the player the busdriver\'s license APlayerData[playerid][TruckerLicense] = 1; // Let the player know he acquired his busdriver\'s license SendClientMessage(playerid, 0xFFFFFFFF, \"{00FF00}Megszerezted a kamionos jogosítványt.\"); } else SendClientMessage(playerid, 0xFFFFFFFF, \"{00FF00}Nincs elég pénzed vagy pontod.\"); } else SendClientMessage(playerid, 0xFFFFFFFF, \"{00FF00}Már megvan a Kamionos jogosítványod.\"); } else SendClientMessage(playerid, 0xFFFFFFFF, \"{00FF00}Kamionos sofõrnek kell lenned hogy megtudd venni a jogosítványt.\"); } return 1;}
Megkérnék minden kedves témanyitót, ha kérdésére/kérésére választ kapott, akkor legyen szíves használni, a \"Téma megoldva\" funkciót![/quote][/mod]