C:\Documents and Settings\Shurickwar\Рабочий стол\сервер SAMP 0.3c\gamemodes\SAGW.pwn(7397) : warning 203: symbol is never used: "Prostitutes" C:\Documents and Settings\Shurickwar\Рабочий стол\сервер SAMP 0.3c\gamemodes\SAGW.pwn(7397) : warning 203: symbol is never used: "SpamStrings" C:\Documents and Settings\Shurickwar\Рабочий стол\сервер SAMP 0.3c\gamemodes\SAGW.pwn(7397) : warning 203: symbol is never used: "iSpawnSet"
переменные он говорит то что уже используются по 2 раза переменные делать нельзя надо найти строки эти и удалить
[/code]C:\Documents and Settings\Admin\Рабочий стол\Новая папка\МОдИК\МОД\gamemodes\1234.pwn(2603) : error 029: invalid expression, assumed zero C:\Documents and Settings\Admin\Рабочий стол\Новая папка\МОдИК\МОД\gamemodes\1234.pwn(2603) : warning 215: expression has no effect C:\Documents and Settings\Admin\Рабочий стол\Новая папка\МОдИК\МОД\gamemodes\1234.pwn(2603) : error 029: invalid expression, assumed zero C:\Documents and Settings\Admin\Рабочий стол\Новая папка\МОдИК\МОД\gamemodes\1234.pwn(2603) : warning 215: expression has no effect C:\Documents and Settings\Admin\Рабочий стол\Новая папка\МОдИК\МОД\gamemodes\1234.pwn(2603) : error 001: expected token: ";", but found ")" C:\Documents and Settings\Admin\Рабочий стол\Новая папка\МОдИК\МОД\gamemodes\1234.pwn(2603) : fatal error 107: too many error messages on one line
Всё зделал как написано C:\Documents and Settings\Admin\Рабочий стол\Новая папка\МОдИК\МОД\gamemodes\1234.pwn(2603) : error 029: invalid expression, assumed zero C:\Documents and Settings\Admin\Рабочий стол\Новая папка\МОдИК\МОД\gamemodes\1234.pwn(2603) : warning 215: expression has no effect C:\Documents and Settings\Admin\Рабочий стол\Новая папка\МОдИК\МОД\gamemodes\1234.pwn(2603) : error 029: invalid expression, assumed zero C:\Documents and Settings\Admin\Рабочий стол\Новая папка\МОдИК\МОД\gamemodes\1234.pwn(2603) : warning 215: expression has no effect C:\Documents and Settings\Admin\Рабочий стол\Новая папка\МОдИК\МОД\gamemodes\1234.pwn(2603) : error 001: expected token: ";", but found ")" C:\Documents and Settings\Admin\Рабочий стол\Новая папка\МОдИК\МОД\gamemodes\1234.pwn(2603) : fatal error 107: too many error messages on one line
C:\Documents and Settings\Admin\Рабочий стол\Новая папка\Pawno\include\utils.inc(1) : warning 219: local variable "string" shadows a variable at a preceding level C:\Documents and Settings\Admin\Рабочий стол\Новая папка\Pawno\include\Dini.inc(239) : warning 219: local variable "string" shadows a variable at a preceding level C:\Documents and Settings\Admin\Рабочий стол\Новая папка\Pawno\include\md5.inc(312) : warning 219: local variable "string" shadows a variable at a preceding level C:\Documents and Settings\Admin\Рабочий стол\Новая папка\МОдИК\МОД\gamemodes\1234.pwn(2176) : warning 219: local variable "string" shadows a variable at a preceding level C:\Documents and Settings\Admin\Рабочий стол\Новая папка\МОдИК\МОД\gamemodes\1234.pwn(2316) : warning 219: local variable "string" shadows a variable at a preceding level C:\Documents and Settings\Admin\Рабочий стол\Новая папка\МОдИК\МОД\gamemodes\1234.pwn(2453) : warning 219: local variable "string" shadows a variable at a preceding level C:\Documents and Settings\Admin\Рабочий стол\Новая папка\МОдИК\МОД\gamemodes\1234.pwn(2454) : warning 219: local variable "NameTimer" shadows a variable at a preceding level C:\Documents and Settings\Admin\Рабочий стол\Новая папка\МОдИК\МОД\gamemodes\1234.pwn(2604) : warning 236: unknown parameter in substitution (incorrect #define pattern) C:\Documents and Settings\Admin\Рабочий стол\Новая папка\МОдИК\МОД\gamemodes\1234.pwn(2604) : warning 236: unknown parameter in substitution (incorrect #define pattern) C:\Documents and Settings\Admin\Рабочий стол\Новая папка\МОдИК\МОД\gamemodes\1234.pwn(2604) : warning 236: unknown parameter in substitution (incorrect #define pattern) C:\Documents and Settings\Admin\Рабочий стол\Новая папка\МОдИК\МОД\gamemodes\1234.pwn(2604) : warning 236: unknown parameter in substitution (incorrect #define pattern) C:\Documents and Settings\Admin\Рабочий стол\Новая папка\МОдИК\МОД\gamemodes\1234.pwn(2604) : error 029: invalid expression, assumed zero C:\Documents and Settings\Admin\Рабочий стол\Новая папка\МОдИК\МОД\gamemodes\1234.pwn(2604) : warning 215: expression has no effect C:\Documents and Settings\Admin\Рабочий стол\Новая папка\МОдИК\МОД\gamemodes\1234.pwn(2604) : error 029: invalid expression, assumed zero C:\Documents and Settings\Admin\Рабочий стол\Новая папка\МОдИК\МОД\gamemodes\1234.pwn(2604) : warning 215: expression has no effect C:\Documents and Settings\Admin\Рабочий стол\Новая папка\МОдИК\МОД\gamemodes\1234.pwn(2604) : error 001: expected token: ";", but found ")" C:\Documents and Settings\Admin\Рабочий стол\Новая папка\МОдИК\МОД\gamemodes\1234.pwn(2604) : fatal error 107: too many error messages on one line
C:\Documents and Settings\Admin\Рабочий стол\Новая папка\Pawno\include\utils.inc(1) : warning 219: local variable "string" shadows a variable at a preceding level C:\Documents and Settings\Admin\Рабочий стол\Новая папка\Pawno\include\Dini.inc(239) : warning 219: local variable "string" shadows a variable at a preceding level C:\Documents and Settings\Admin\Рабочий стол\Новая папка\Pawno\include\md5.inc(312) : warning 219: local variable "string" shadows a variable at a preceding level C:\Documents and Settings\Admin\Рабочий стол\Новая папка\МОдИК\МОД\gamemodes\1234.pwn(2176) : warning 219: local variable "string" shadows a variable at a preceding level C:\Documents and Settings\Admin\Рабочий стол\Новая папка\МОдИК\МОД\gamemodes\1234.pwn(2316) : warning 219: local variable "string" shadows a variable at a preceding level C:\Documents and Settings\Admin\Рабочий стол\Новая папка\МОдИК\МОД\gamemodes\1234.pwn(2453) : warning 219: local variable "string" shadows a variable at a preceding level C:\Documents and Settings\Admin\Рабочий стол\Новая папка\МОдИК\МОД\gamemodes\1234.pwn(2454) : warning 219: local variable "NameTimer" shadows a variable at a preceding level
переменные повторяются заменить иХ!
Quote (СлЕсАрЬ)
C:\Documents and Settings\Admin\Рабочий стол\Новая папка\МОдИК\МОД\gamemodes\1234.pwn(2604) : warning 236: unknown parameter in substitution (incorrect #define pattern) C:\Documents and Settings\Admin\Рабочий стол\Новая папка\МОдИК\МОД\gamemodes\1234.pwn(2604) : warning 236: unknown parameter in substitution (incorrect #define pattern) C:\Documents and Settings\Admin\Рабочий стол\Новая папка\МОдИК\МОД\gamemodes\1234.pwn(2604) : warning 236: unknown parameter in substitution (incorrect #define pattern) C:\Documents and Settings\Admin\Рабочий стол\Новая папка\МОдИК\МОД\gamemodes\1234.pwn(2604) : warning 236: unknown parameter in substitution (incorrect #define pattern)
(1520) : error 017: undefined symbol "PlayerInfo" (1520) : warning 215: expression has no effect (1520) : error 001: expected token: ";", but found "]" (1520) : error 029: invalid expression, assumed zero (1520) : fatal error 107: too many error messages on one line
Строчка (1520):
Code
if(PlayerInfo[playerid][pAlcoholPerk] > 0) { PlayerDrunk[playerid] += 1; new hp = 2 * PlayerInfo[playerid][pAlcoholPerk]; hp += 25; SetPlayerHealth(playerid, health + hp); }
взял чистый мод GOD/GF/RP/LIVE. он без ошибок стопудова. и там вот такие ошибки выскакивают,в чём может быть дело??? вот инклуды в начале мода. #include <a_samp> #include <file> #include <core> #include <float> #include <time> #include <utils> #include <Dini> //#include <manticheat> #include <mxINI> #include <md5> #include <SpikeStrip> //#include <MidoStream> #include <streamer> #include <1423_ctype> #include <a_deamx> а вот ошибки :
Code
D:\Pawno Rus\include\streamer.inc(268) : warning 201: redefinition of constant/macro (symbol "OnGameModeInit") D:\Pawno Rus\include\streamer.inc(290) : warning 201: redefinition of constant/macro (symbol "OnPlayerConnect") D:\Pawno Rus\Rp\gamemodes\RolePlay.pwn(4090) : error 017: undefined symbol "iniOpen" D:\Pawno Rus\Rp\gamemodes\RolePlay.pwn(4091) : error 017: undefined symbol "iniGet" D:\Pawno Rus\Rp\gamemodes\RolePlay.pwn(4092) : error 017: undefined symbol "iniClose" D:\Pawno Rus\Rp\gamemodes\RolePlay.pwn(4090) : warning 204: symbol is assigned a value that is never used: "File" D:\Pawno Rus\Rp\gamemodes\RolePlay.pwn(5128) : warning 202: number of arguments does not match definition D:\Pawno Rus\Rp\gamemodes\RolePlay.pwn(5128) : warning 202: number of arguments does not match definition D:\Pawno Rus\Rp\gamemodes\RolePlay.pwn(6628) : warning 219: local variable "newcar" shadows a variable at a preceding level D:\Pawno Rus\Rp\gamemodes\RolePlay.pwn(6834) : warning 219: local variable "newcar" shadows a variable at a preceding level D:\Pawno Rus\Rp\gamemodes\RolePlay.pwn(7556) : error 017: undefined symbol "SetPlayerMoney" D:\Pawno Rus\Rp\gamemodes\RolePlay.pwn(9574) : error 017: undefined symbol "iniOpen" D:\Pawno Rus\Rp\gamemodes\RolePlay.pwn(9575) : error 017: undefined symbol "iniGetInt" D:\Pawno Rus\Rp\gamemodes\RolePlay.pwn(9576) : error 017: undefined symbol "iniGetInt" D:\Pawno Rus\Rp\gamemodes\RolePlay.pwn(9577) : error 017: undefined symbol "iniGetInt" D:\Pawno Rus\Rp\gamemodes\RolePlay.pwn(9578) : error 017: undefined symbol "iniGetInt" D:\Pawno Rus\Rp\gamemodes\RolePlay.pwn(9579) : error 017: undefined symbol "iniClose" D:\Pawno Rus\Rp\gamemodes\RolePlay.pwn(9574) : warning 204: symbol is assigned a value that is never used: "File" D:\Pawno Rus\Rp\gamemodes\RolePlay.pwn(9585) : error 017: undefined symbol "iniOpen" D:\Pawno Rus\Rp\gamemodes\RolePlay.pwn(9586) : error 017: undefined symbol "iniSetInt" D:\Pawno Rus\Rp\gamemodes\RolePlay.pwn(9587) : error 017: undefined symbol "iniSetInt" D:\Pawno Rus\Rp\gamemodes\RolePlay.pwn(9588) : error 017: undefined symbol "iniSetInt" D:\Pawno Rus\Rp\gamemodes\RolePlay.pwn(9589) : error 017: undefined symbol "iniSetInt" D:\Pawno Rus\Rp\gamemodes\RolePlay.pwn(9590) : error 017: undefined symbol "iniClose" D:\Pawno Rus\Rp\gamemodes\RolePlay.pwn(9585) : warning 204: symbol is assigned a value that is never used: "File" D:\Pawno Rus\Rp\gamemodes\RolePlay.pwn(13120) : error 017: undefined symbol "iniOpen" D:\Pawno Rus\Rp\gamemodes\RolePlay.pwn(13123) : error 017: undefined symbol "iniSet" D:\Pawno Rus\Rp\gamemodes\RolePlay.pwn(13125) : error 017: undefined symbol "iniSetInt" D:\Pawno Rus\Rp\gamemodes\RolePlay.pwn(13126) : error 017: undefined symbol "iniSetInt" D:\Pawno Rus\Rp\gamemodes\RolePlay.pwn(13127) : error 017: undefined symbol "iniSetInt" D:\Pawno Rus\Rp\gamemodes\RolePlay.pwn(13128) : error 017: undefined symbol "iniSetInt" D:\Pawno Rus\Rp\gamemodes\RolePlay.pwn(13129) : error 017: undefined symbol "iniSetInt" D:\Pawno Rus\Rp\gamemodes\RolePlay.pwn(13130) : error 017: undefined symbol "iniSetInt" D:\Pawno Rus\Rp\gamemodes\RolePlay.pwn(13131) : error 017: undefined symbol "iniSetInt" D:\Pawno Rus\Rp\gamemodes\RolePlay.pwn(13132) : error 017: undefined symbol "iniSetInt"
D:\Pawno Rus\include\streamer.inc(268) : warning 201: redefinition of constant/macro (symbol "OnGameModeInit") D:\Pawno Rus\include\streamer.inc(290) : warning 201: redefinition of constant/macro (symbol "OnPlayerConnect") D:\Pawno Rus\Rp\gamemodes\RolePlay.pwn(4090) : error 017: undefined symbol "iniOpen" D:\Pawno Rus\Rp\gamemodes\RolePlay.pwn(4091) : error 017: undefined symbol "iniGet" D:\Pawno Rus\Rp\gamemodes\RolePlay.pwn(4092) : error 017: undefined symbol "iniClose" D:\Pawno Rus\Rp\gamemodes\RolePlay.pwn(4090) : warning 204: symbol is assigned a value that is never used: "File" D:\Pawno Rus\Rp\gamemodes\RolePlay.pwn(5128) : warning 202: number of arguments does not match definition D:\Pawno Rus\Rp\gamemodes\RolePlay.pwn(5128) : warning 202: number of arguments does not match definition D:\Pawno Rus\Rp\gamemodes\RolePlay.pwn(6628) : warning 219: local variable "newcar" shadows a variable at a preceding level D:\Pawno Rus\Rp\gamemodes\RolePlay.pwn(6834) : warning 219: local variable "newcar" shadows a variable at a preceding level D:\Pawno Rus\Rp\gamemodes\RolePlay.pwn(7556) : error 017: undefined symbol "SetPlayerMoney" D:\Pawno Rus\Rp\gamemodes\RolePlay.pwn(9574) : error 017: undefined symbol "iniOpen" D:\Pawno Rus\Rp\gamemodes\RolePlay.pwn(9575) : error 017: undefined symbol "iniGetInt" D:\Pawno Rus\Rp\gamemodes\RolePlay.pwn(9576) : error 017: undefined symbol "iniGetInt" D:\Pawno Rus\Rp\gamemodes\RolePlay.pwn(9577) : error 017: undefined symbol "iniGetInt" D:\Pawno Rus\Rp\gamemodes\RolePlay.pwn(9578) : error 017: undefined symbol "iniGetInt" D:\Pawno Rus\Rp\gamemodes\RolePlay.pwn(9579) : error 017: undefined symbol "iniClose" D:\Pawno Rus\Rp\gamemodes\RolePlay.pwn(9574) : warning 204: symbol is assigned a value that is never used: "File" D:\Pawno Rus\Rp\gamemodes\RolePlay.pwn(9585) : error 017: undefined symbol "iniOpen" D:\Pawno Rus\Rp\gamemodes\RolePlay.pwn(9586) : error 017: undefined symbol "iniSetInt" D:\Pawno Rus\Rp\gamemodes\RolePlay.pwn(9587) : error 017: undefined symbol "iniSetInt" D:\Pawno Rus\Rp\gamemodes\RolePlay.pwn(9588) : error 017: undefined symbol "iniSetInt" D:\Pawno Rus\Rp\gamemodes\RolePlay.pwn(9589) : error 017: undefined symbol "iniSetInt" D:\Pawno Rus\Rp\gamemodes\RolePlay.pwn(9590) : error 017: undefined symbol "iniClose" D:\Pawno Rus\Rp\gamemodes\RolePlay.pwn(9585) : warning 204: symbol is assigned a value that is never used: "File" D:\Pawno Rus\Rp\gamemodes\RolePlay.pwn(13120) : error 017: undefined symbol "iniOpen" D:\Pawno Rus\Rp\gamemodes\RolePlay.pwn(13123) : error 017: undefined symbol "iniSet" D:\Pawno Rus\Rp\gamemodes\RolePlay.pwn(13125) : error 017: undefined symbol "iniSetInt" D:\Pawno Rus\Rp\gamemodes\RolePlay.pwn(13126) : error 017: undefined symbol "iniSetInt" D:\Pawno Rus\Rp\gamemodes\RolePlay.pwn(13127) : error 017: undefined symbol "iniSetInt" D:\Pawno Rus\Rp\gamemodes\RolePlay.pwn(13128) : error 017: undefined symbol "iniSetInt" D:\Pawno Rus\Rp\gamemodes\RolePlay.pwn(13129) : error 017: undefined symbol "iniSetInt" D:\Pawno Rus\Rp\gamemodes\RolePlay.pwn(13130) : error 017: undefined symbol "iniSetInt" D:\Pawno Rus\Rp\gamemodes\RolePlay.pwn(13131) : error 017: undefined symbol "iniSetInt" D:\Pawno Rus\Rp\gamemodes\RolePlay.pwn(13132) : error 017: undefined symbol "iniSetInt"