- 0
Sign in to follow this
Followers
0
2 Warnigs После компилации
Question
Лучший ответ
@MaJoR удалите эти две строчки.
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
-
By Lipsi
Здравствуйте!
Я ищю людей мапперов скриптеров и так далее!
Плата будет но не сразу
Связь со мной:
ВК - https://vk.ru/lipsi_den
Тг- @Lipsi_den4ik
Вконтакте обязательно должен быть у вас!
-
MaJoR Постоянный 9
Я нажал скомпилировать новый мод Social Role Play Выдало 2 Warnigs
C:\Users\Darya\Desktop\Social RP\gamemodes\MRP.pwn(48171) : warning 205: redundant code: constant expression is zero C:\Users\Darya\Desktop\Social RP\gamemodes\MRP.pwn(48210) : warning 205: redundant code: constant expression is zero Pawn compiler 3.10.20160907 Copyright (c) 1997-2006, ITB CompuPhase Header size: 17756 bytes Code size: 4914816 bytes Data size: 7574880 bytes Stack/heap size: 16384 bytes; estimated max. usage=1984 cells (7936 bytes) Total requirements:12523836 bytes 2 Warnings.Вот эти 2 Строчки
я скину 5 еще с начало и 5 в конце
это строчка 48171 Ошибка в if(MAX_PLAYERS == 1) rerurn 1;
case 1: { if(pInfo[playerid][Spectating][0] != INVALID_PLAYER_ID) { if(MAX_PLAYERS == 1) return 1; new specid = pInfo[playerid][Spectating][0]+1; if(specid >= MAX_PLAYERS) specid = 0; if(!IsPlayerConnected(specid) || playerid == specid) { specid++; if(specid >= MAX_PLAYERS) specid = 0; }Вторая Ошибка Тут тоже самое
case 2: { if(pInfo[playerid][Spectating][0] != INVALID_PLAYER_ID) { if(MAX_PLAYERS == 1) return 1; new specid = pInfo[playerid][Spectating][0]-1; if(specid == -1) specid = MAX_PLAYERS; if(!IsPlayerConnected(specid) || playerid == specid) { specid--; if(specid == -1) specid = MAX_PLAYERS; }Share this post
Link to post
Share on other sites