Postado Julho 23, 2019 5 anos @Azzus22 Não testei o script, porém, só o fato de vim aqui melhorar o script para quem precisa já merece elogios. Sobre sua dúvida, já pensou em olhar o script de criar itens do OTServ (o famoso /i )? Pelo menos parece um pouco com sua dúvida. Tipo assim: local ret = RETURNVALUE_NOERROR if(param == '') then doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "Esta faltando comandos.") return true end if(ret ~= RETURNVALUE_NOERROR) then doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "Não existe esse item") return true end Não testei, não sei se dará certo, mas...
Postado Maio 11, 2020 5 anos ESSA PARTE AKI NAO DEU MUITO BOM NAO. File: C:\xampp\htdocs/index.php Line: 33 index.php adicione esse code: case "tradeoff"; $topic = "Trade Off"; $subtopic = "tradeoff"; include("tradeoff.php"); break;
Postado Maio 13, 2020 5 anos @Natanael Beckman essa parte qual Index.php vc ta falando case "tradeoff"; $topic = "Trade Off"; $subtopic = "tradeoff"; include("tradeoff.php"); break; Spoiler <?php // comment to show E_NOTICE [undefinied variable etc.], comment if you want make script and see all errors error_reporting(E_ALL ^ E_STRICT ^ E_NOTICE); // true = show sent queries and SQL queries status/status code/error message define('DEBUG_DATABASE', false); define('INITIALIZED', true); // if not defined before, set 'false' to load all normal if(!defined('ONLY_PAGE')) define('ONLY_PAGE', false); // check if site is disabled/requires installation include_once('./system/load.loadCheck.php'); // fix user data, load config, enable class auto loader include_once('./system/load.init.php'); // DATABASE include_once('./system/load.database.php'); if(DEBUG_DATABASE) Website::getDBHandle()->setPrintQueries(true); // DATABASE END // LOGIN if(!ONLY_PAGE) include_once('./system/load.login.php'); // LOGIN END // COMPAT // some parts in that file can be blocked because of ONLY_PAGE constant include_once('./system/load.compat.php'); // COMPAT END // LOAD PAGE include_once('./system/load.page.php'); // LOAD PAGE END // LAYOUT // with ONLY_PAGE we return only page text, not layout if(!ONLY_PAGE) include_once('./system/load.layout.php'); else echo $main_content; // LAYOUT END tem outro Index.php fora esse @Bruder0v Warning: include(tradeoff.php) [function.include]: failed to open stream: No such file or directory in C:\xampp\htdocs\index.php on line 5Warning: include() [function.include]: Failed opening 'tradeoff.php' for inclusion (include_path='.;\xampp\php\PEAR') in C:\xampp\htdocs\index.php on line 5Fatal error: Cannot break/continue 1 level in C:\xampp\htdocs\index.php on line 6 FIZ QUE NEM VC MAIS DA ISSO Editado Maio 13, 2020 5 anos por Rush Of Dead (veja o histórico de edições)
Postado Maio 22, 2020 5 anos @anonimo99 Olá, estou usando para ot 8.60, não precisa colocar essa pasta index.php só é preciso o layout.php
Participe da conversa
Você pode postar agora e se cadastrar mais tarde. Se você tem uma conta, faça o login para postar com sua conta.