D:\\GTA modok\\Mod\\régi\\régi\\pawno\\include\\PPC_PlayerCommands.inc(651) : warning 217: loose indentationPawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
COMMAND:gohome(playerid, params[]){// Setup local variablesnew HouseList[1000];// Send the command to all admins so they can see itSendAdminText(playerid, \"/gohome\", params);// Check if the player has logged inif (APlayerData[playerid][LoggedIn] == true){// Check if the player has a wanted level of less than 3if (GetPlayerWantedLevel(playerid) < 3){ // Check if the player is not jailed if (APlayerData[playerid][PlayerJailed] == 0) { if (APlayerData[playerid][JobStarted] == false) { // Check if the player is not inside a vehicle if (GetPlayerVehicleID(playerid) == 0) { // Ask to which house the player wants to add his vehicle for (new i; i < MAX_HOUSESPERPLAYER; i++) { // Check if this houseindex is occupied if (APlayerData[playerid][Houses] != 0) format(HouseList, 1000, \"%s{00FF00}%s{FFFFFF}\\n\", HouseList, AHouseData[APlayerData[playerid][Houses]][HouseName]); else format(HouseList, 1000, \"%s{FFFFFF}%s{FFFFFF}\\n\", HouseList, \"Üres ház hely\"); } ShowPlayerDialog(playerid, DialogGoHome, DIALOG_STYLE_LIST, \"Válazd ki a házad:\", HouseList, \"Oké\", \"Vissza\"); } else SendClientMessage(playerid, 0xFF0000FF, \"Nincsen házad...\"); } else SendClientMessage(playerid, 0xFF0000FF, \"Nem tudod használni a /hazam mert a börtönben vagy\"); } else SendClientMessage(playerid, 0xFF0000FF, \"Nem tudod használni a /gohome-t mert munkában vagy...\");}else SendClientMessage(playerid, 0xFFFFFFFF, \"{FF0000}Nem tudod használni a /hazam mikor körözésed van\");}else return 0;// Let the server know that this was a valid commandreturn 1;}
COMMAND:gohome(playerid, params[]){ // Setup local variables new HouseList[1000]; // Send the command to all admins so they can see it SendAdminText(playerid, \"/gohome\", params); // Check if the player has logged in if (APlayerData[playerid][LoggedIn] == true) { // Check if the player has a wanted level of less than 3 if (GetPlayerWantedLevel(playerid) < 3) { // Check if the player is not jailed if (APlayerData[playerid][PlayerJailed] == 0) { if (APlayerData[playerid][JobStarted] == false) { // Check if the player is not inside a vehicle if (GetPlayerVehicleID(playerid) == 0) { // Ask to which house the player wants to add his vehicle for (new i; i < MAX_HOUSESPERPLAYER; i++) { // Check if this houseindex is occupied if (APlayerData[playerid][Houses] != 0) format(HouseList, 1000, \"%s{00FF00}%s{FFFFFF}\\n\", HouseList, AHouseData[APlayerData[playerid][Houses]][HouseName]); else format(HouseList, 1000, \"%s{FFFFFF}%s{FFFFFF}\\n\", HouseList, \"Üres ház hely\"); } ShowPlayerDialog(playerid, DialogGoHome, DIALOG_STYLE_LIST, \"Válazd ki a házad:\", HouseList, \"Oké\", \"Vissza\"); } else SendClientMessage(playerid, 0xFF0000FF, \"Nincsen házad...\"); } else SendClientMessage(playerid, 0xFF0000FF, \"Nem tudod használni a /hazam mert a börtönben vagy\"); } else SendClientMessage(playerid, 0xFF0000FF, \"Nem tudod használni a /gohome-t mert munkában vagy...\"); } else SendClientMessage(playerid, 0xFFFFFFFF, \"{FF0000}Nem tudod használni a /hazam mikor körözésed van\"); } else return 0; // Let the server know that this was a valid command return 1;}
#pragma tabsize 0