Рекомендованные сообщения



Не найдено.

2 posts in this topic

Спойлер

C:\Users\frvas\Desktop\Ïðî÷åå\Server's\House\house.pwn(16431) : warning 213: tag mismatch
C:\Users\frvas\Desktop\Ïðî÷åå\Server's\House\house.pwn(16431) : warning 215: expression has no effect
C:\Users\frvas\Desktop\Ïðî÷åå\Server's\House\house.pwn(16431) : error 001: expected token: ";", but found "["
C:\Users\frvas\Desktop\Ïðî÷åå\Server's\House\house.pwn(16431) : error 029: invalid expression, assumed zero
C:\Users\frvas\Desktop\Ïðî÷åå\Server's\House\house.pwn(16431) : warning 215: expression has no effect
C:\Users\frvas\Desktop\Ïðî÷åå\Server's\House\house.pwn(16431) : error 001: expected token: ";", but found "]"
C:\Users\frvas\Desktop\Ïðî÷åå\Server's\House\house.pwn(16431) : fatal error 107: too many error messages on one line

Вырезал вот эту команду из мода амазинга, вставил в свой и ошибки.
 

}
CMD:switchskin(playerid, params[])
{
	if(PI[playerid][pMember] < TEAM_FSB) return SendClientMessage(playerid, COLOR_WHITE, "Команда не обнаружена! Используйте {FFCC00}/menu {FFFFFF}для просмотра команд");
	else if(sscanf(params, "d", params[0])) return SCM(playerid, COLOR_LIME, "Информация: {ffffff}/switchskin [id внешности]");
	else if(params[0] > 299 || params[0] < 1) { SCM(playerid, COLOR_RED, " ID может быть от 1 до 299"); return true; }
	PI[playerid][pChar][0] = params[0];
	SetPlayerSkin(playerid, PI[playerid][pChar][0]);
	new string[128];
	format(string, sizeof(string), "Вы сменили свою внешность");
	SendClientMessage(playerid, COLOR_BLUE, string);
	MeAction(playerid, "сменил внешность");
	return true;
}

 

Edited by KiKiKiKick

Share this post


Link to post
Share on other sites

Команду то вы Вырезали, а переменные не надо, да? 

Вырезайте все до конца и если будут ошибки, скидывайте. 

Share this post


Link to post
Share on other sites
Guest
This topic is now closed to further replies.
Sign in to follow this  
Followers 0

  • Recently Browsing   0 members

    No registered users viewing this page.

  • Similar Content

    • NNN
      By NNN
      Поставил эту http://pawno-rus.ru/topic/1034-sistema-reporta/ систему репорта со всеми доработками, в компиляторе высвечиваются эти ошибки:
      loose indentation error 017: undefined symbol "AddMessage" warning 215: expression has no effect error 001: expected token: ";", but found "]" error 029: invalid expression, assumed zero fatal error 107: too many error messages on one line первое предупреждение из за корявости скрипта (loose indentation) а вот с остальными не знаю)
    • Leo_Carter
      By Leo_Carter
      Такая проблема то что я пишу мод с нуля и когда почти мод был готов, я решил его залить на хостинг, ну там есть подключение к mysql и всё подобное, только вот залил на хостинг, запускаю и у меня вот такие дебаги вылезают и сервер Unknown

       
      Loaded log file: "server_log.txt". ---------- SA-MP Dedicated Server ---------------------- v0.3.7-R2, (C)2005-2015 SA-MP Team [18:54:42] filterscripts = "" (string) [18:54:42] [18:54:42] Server Plugins [18:54:42] -------------- [18:54:42] Loading plugin: mysql_static.so [18:54:42] >> plugin.mysql: R39-2 successfully loaded. [18:54:42] Loaded. [18:54:42] Loading plugin: pawncmd.so [18:54:42] Pawn.CMD plugin v3.1.4 by urShadow loaded [18:54:42] Loaded. [18:54:42] Loading plugin: pawnregex.so [18:54:42] Pawn.Regex plugin v1.1 by urShadow loaded [18:54:42] Loaded. [18:54:42] Loading plugin: crashdetect.so [18:54:42] CrashDetect v4.18.1 is OK. [18:54:42] Loaded. [18:54:42] Loading plugin: streamer.so [18:54:42] *** Streamer Plugin v2.8.2 by Incognito loaded *** [18:54:42] Loaded. [18:54:42] Loading plugin: sscanf.so [18:54:42] [18:54:42] =============================== [18:54:42] sscanf plugin loaded. [18:54:42] Version: 2.8.1 [18:54:42] (c) 2012 Alex "Y_Less" Cole [18:54:42] =============================== [18:54:42] Loaded. [18:54:42] Loaded 6 plugins. [18:54:42] [18:54:42] Filterscripts [18:54:42] --------------- [18:54:42] Loaded 0 filterscripts. [18:54:42] [debug] Run time error 19: "File or function is not found" [18:54:42] [debug] cache_get_value_name [18:54:42] [debug] cache_get_value_name_int [18:54:42] [debug] Run time error 19: "File or function is not found" [18:54:42] [debug] cache_get_value_name [18:54:42] [debug] cache_get_value_name_int [18:54:42] Script[gamemodes/project.amx]: Run time error 19: "File or function is not found" [18:54:42] Number of vehicle models: 0 [18:54:42] [debug] Run time error 19: "File or function is not found" [18:54:42] [debug] cache_get_value_name [18:54:42] [debug] cache_get_value_name_int [18:54:42] [debug] Run time error 19: "File or function is not found" [18:54:42] [debug] cache_get_value_name [18:54:42] [debug] cache_get_value_name_int