[Ajuda]Removendo Alguns Warnings
#1


Bom , o tнtulo jб diz tudo ; presciso retirar alguns warnigs do meu Gamemode.
Sei que nгo й algo muito complexo, mas й presciso entender o significado real do Warning(Oque ele Diz)
O Gamemode й o CrimCity , postado aqui no forum.

Aqui vгo eles
Код:
Compilando Crimcity.pwn...
C:\Documents and Settings\Netinho\Desktop\Script Pawn\Metropole Virtual\gamemodes\CrimCity.pwn(2144) : warning 218: old style prototypes used with optional semicolumns

C:\Documents and Settings\Netinho\Desktop\Script Pawn\Metropole Virtual\gamemodes\CrimCity.pwn(2230) : warning 218: old style prototypes used with optional semicolumns
C:\Documents and Settings\Netinho\Desktop\Script Pawn\Metropole Virtual\gamemodes\CrimCity.pwn(3253) : warning 204: symbol is assigned a value that is never used: "pPos"
C:\Documents and Settings\Netinho\Desktop\Script Pawn\Metropole Virtual\gamemodes\CrimCity.pwn(1190) : warning 204: symbol is assigned a value that is never used: "BolsaDeValoresPick"
C:\Documents and Settings\Netinho\Desktop\Script Pawn\Metropole Virtual\gamemodes\CrimCity.pwn(1950) : warning 204: symbol is assigned a value that is never used: "ComputadorPick"
C:\Documents and Settings\Netinho\Desktop\Script Pawn\Metropole Virtual\gamemodes\CrimCity.pwn(1221) : warning 204: symbol is assigned a value that is never used: "EnterHospitalPick"
C:\Documents and Settings\Netinho\Desktop\Script Pawn\Metropole Virtual\gamemodes\CrimCity.pwn(1223) : warning 204: symbol is assigned
C:\Documents and Settings\Netinho\Desktop\Script Pawn\Metropole Virtual\gamemodes\CrimCity.pwn(1223) : warning 204: symbol is assigned a value that is never used: "ExitHospitalPick"
C:\Documents and Settings\Netinho\Desktop\Script Pawn\Metropole Virtual\gamemodes\CrimCity.pwn(1199) : warning 204: symbol is assigned a value that is never used: "FaculdadePick"
C:\Documents and Settings\Netinho\Desktop\Script Pawn\Metropole Virtual\gamemodes\CrimCity.pwn(1202) : warning 204: symbol is assigned a value that is never used: "GaragemJailPick"
C:\Documents and Settings\Netinho\Desktop\Script Pawn\Metropole Virtual\gamemodes\CrimCity.pwn(1224) : warning 204: symbol is assigned a value that is never used: "HospitalPick"
C:\Documents and Settings\Netinho\Desktop\Script Pawn\Metropole Virtual\gamemodes\CrimCity.pwn(1205) : warning 204: symbol is assigned a value that is never used: "LimparPick"
C:\Documents and Settings\Netinho\Desktop\Script Pawn\Metropole Virtual\gamemodes\CrimCity.pwn(1227) : warning 204: symbol is assigned a value that is never used: "MacumbaPick"
C:\Documents and Settings\Netinho\Desktop\Script Pawn\Metropole Virtual\gamemod
C:\Documents and Settings\Netinho\Desktop\Script Pawn\Metropole Virtual\gamemodes\CrimCity.pwn(1130) : warning 204: symbol is assigned a value that is never used: "MainTimer"
C:\Documents and Settings\Netinho\Desktop\Script Pawn\Metropole Virtual\gamemodes\CrimCity.pwn(1211) : warning 204: symbol is assigned a value that is never used: "PizzaPick"
C:\Documents and Settings\Netinho\Desktop\Script Pawn\Metropole Virtual\gamemodes\CrimCity.pwn(1229) : warning 204: symbol is assigned a value that is never used: "RezaPick"
C:\Documents and Settings\Netinho\Desktop\Script Pawn\Metropole Virtual\gamemodes\CrimCity.pwn(1958) : warning 204: symbol is assigned a value that is never used: "on501vehicle"
C:\Documents and Settings\Netinho\Desktop\Script Pawn\Metropole Virtual\gamemodes\CrimCity.pwn(1959) : warning 204: symbol is assigned a value that is never used: "on702vehicle"
C:\Documents and Settings\Netinho\Desktop\Script Pawn\Metropole Virtual\gamemodes\CrimCity.pwn(1959 -- 18442) : warning 203: symbol is never used: "pCPActive"
C:\Documents and Settings\Netinho\Desktop\Script Pawn\Metr
C:\Documents and Settings\Netinho\Desktop\Script Pawn\Metropole Virtual\gamemodes\CrimCity.pwn(1959 -- 18442) : warning 203: symbol is never used: "pCPID"
C:\Documents and Settings\Netinho\Desktop\Script Pawn\Metropole Virtual\gamemodes\CrimCity.pwn(1959 -- 18442) : warning 203: symbol is never used: "soundID"

Pawn compiler 3.2.3664                          Copyright © 1997-2006, ITB CompuPhase

Header size:           7116 bytes
Code size:          1012772 bytes
Data size:           685896 bytes
Stack/heap size:      16384 bytes; estimated max. usage=4464 cells (17856 bytes)
Total requirements: 1722168 bytes

20 Warnings.
Se alguem puder me ajudar , desde jб fico agradecido!xD
Reply
#2

warning 203: symbol is never used: "pCPActive" = Simbolo Nao Usado...server para os outros 2 de baixo tbm...

symbol is assigned a value that is never used: "on702vehicle" = Valor Atribuido Ao Simbolo Nunca Usado...
Reply
#3

Se postasse as linhas ficaria mais fбcil nй? :}
Reply
#4

Quote:
Originally Posted by Lucas Nicolas
Посмотреть сообщение
Se postasse as linhas ficaria mais fбcil nй? :}
Й Pra jб Mano!

Aqui Vгo os Erros
Код:
Compilando CrimCity.pwn...
C:\Documents and Settings\Netinho\Desktop\Script Pawn\Metropole Virtual\gamemodes\CrimCity.pwn(2137) : warning 218: old style prototypes used with optional semicolumns
C:\Documents and Settings\Netinho\Desktop\Script Pawn\Metropole Virtual\gamemodes\CrimCity.pwn(2223) : warning 218: old style prototypes used with optional semicolumns
C:\Documents and Settings\Netinho\Desktop\Script Pawn\Metropole Virtual\gamemodes\CrimCity.pwn(3242) : warning 204: symbol is assigned a value that is never used: "pPos"
C:\Documents and Settings\Netinho\Desktop\Script Pawn\Metropole Virtual\gamemodes\CrimCity.pwn(1182) : warning 204: symbol is assigned a value that is never used: "BolsaDeValoresPick"
C:\Documents and Settings\Netinho\Desktop\Script Pawn\Metropole Virtual\gamemodes\CrimCity.pwn(1942) : warning 204: symbol is assigned a value that is never used: "ComputadorPick"
C:\Documents and Settings\Netinho\Desktop\Script Pawn\Metropole Virtual\gamemodes\CrimCity.pwn(1213) : warning 204: symbol is assigned a value that i
C:\Documents and Settings\Netinho\Desktop\Script Pawn\Metropole Virtual\gamemodes\CrimCity.pwn(1213) : warning 204: symbol is assigned a value that is never used: "EnterHospitalPick"
C:\Documents and Settings\Netinho\Desktop\Script Pawn\Metropole Virtual\gamemodes\CrimCity.pwn(1215) : warning 204: symbol is assigned a value that is never used: "ExitHospitalPick"
C:\Documents and Settings\Netinho\Desktop\Script Pawn\Metropole Virtual\gamemodes\CrimCity.pwn(1191) : warning 204: symbol is assigned a value that is never used: "FaculdadePick"
C:\Documents and Settings\Netinho\Desktop\Script Pawn\Metropole Virtual\gamemodes\CrimCity.pwn(1194) : warning 204: symbol is assigned a value that is never used: "GaragemJailPick"
C:\Documents and Settings\Netinho\Desktop\Script Pawn\Metropole Virtual\gamemodes\CrimCity.pwn(1216) : warning 204: symbol is assigned a value that is never used: "HospitalPick"
C:\Documents and Settings\Netinho\Desktop\Script Pawn\Metropole Virtual\gamemodes\CrimCity.pwn(1197) : warning 204: symbol is assigned a value that is never used: "LimparPick"
C:\Documents and Settings\Netinho\Desktop\Script Pawn\Metropole Virtual\gamemodes\CrimCi
C:\Documents and Settings\Netinho\Desktop\Script Pawn\Metropole Virtual\gamemodes\CrimCity.pwn(1219) : warning 204: symbol is assigned a value that is never used: "MacumbaPick"
C:\Documents and Settings\Netinho\Desktop\Script Pawn\Metropole Virtual\gamemodes\CrimCity.pwn(1122) : warning 204: symbol is assigned a value that is never used: "MainTimer"
C:\Documents and Settings\Netinho\Desktop\Script Pawn\Metropole Virtual\gamemodes\CrimCity.pwn(1203) : warning 204: symbol is assigned a value that is never used: "PizzaPick"
C:\Documents and Settings\Netinho\Desktop\Script Pawn\Metropole Virtual\gamemodes\CrimCity.pwn(1221) : warning 204: symbol is assigned a value that is never used: "RezaPick"
C:\Documents and Settings\Netinho\Desktop\Script Pawn\Metropole Virtual\gamemodes\CrimCity.pwn(1950) : warning 204: symbol is assigned a value that is never used: "on501vehicle"
C:\Documents and Settings\Netinho\Desktop\Script Pawn\Metropole Virtual\gamemodes\CrimCity.pwn(1951) : warning 204: symbol is assigned a value that is never used: "on702vehicle"
C:\Documents and Settings\Netinho\Desktop\Script 
C:\Documents and Settings\Netinho\Desktop\Script Pawn\Metropole Virtual\gamemodes\CrimCity.pwn(1951 -- 18431) : warning 203: symbol is never used: "pCPActive"
C:\Documents and Settings\Netinho\Desktop\Script Pawn\Metropole Virtual\gamemodes\CrimCity.pwn(1951 -- 18431) : warning 203: symbol is never used: "pCPID"
C:\Documents and Settings\Netinho\Desktop\Script Pawn\Metropole Virtual\gamemodes\CrimCity.pwn(1951 -- 18431) : warning 203: symbol is never used: "soundID"
Pawn compiler 3.2.3664                          Copyright © 1997-2006, ITB CompuPhase

Header size:           7116 bytes
Code size:          1012572 bytes
Data size:           685512 bytes
Stack/heap size:      16384 bytes; estimated max. usage=4464 cells (17856 bytes)
Total requirements: 1721584 bytes

20 Warnings.
E Aqui Vгo as Linhas (Em respectiva ordem)
Код:
SaveStores();

SaveHouses();

new Float:pPos[3][2];

BolsaDeValoresPick = CreatePickup(1318,23,1787.8719,-1297.8328,13.3750,0);

ComputadorPick = CreatePickup(1239,23,830.6692,-0.2752,1004.1797,0); // Hackear

EnterHospitalPick = CreatePickup(1318,23,1172.8621,-1323.3792,15.3997,0);

ExitHospitalPick = CreatePickup(1318,23,1164.9688,-1373.6129,-34.4501,0);

FaculdadePick = CreatePickup(1318,23,940.3572,-1719.0767,13.9157,0);

GaragemJailPick = CreatePickup(1239,23,1526.0927,-1677.9799,5.8906,0);

HospitalPick = CreatePickup(1240,23,1163.7441,-1379.2041,-34.4501,0);

LimparPick = CreatePickup(1239,23,234.9590,79.1414,1005.0391,0);

MacumbaPick = CreatePickup(1254,23,899.2125,-1081.8817,24.2969,0);

MainTimer = SetTimer("MainAFKLoop", (AFK_TIMER_AMOUNT*60000), true);

PizzaPick = CreatePickup(1292,23,2094.0020,-1796.8029,13.3828,0);

on501vehicle = CreateVehicle(445, 0.0, 0.0, 5.0, 0.0, 0, 0, 5000);

on702vehicle = CreateVehicle(431, 0.0, 0.0, 5.0, 0.0, 3, 3, 5000);

Os Outros Warnigs, Quando clico sobre Eles ;Aparece uma menagem de Erro dizendo: Is not a valid integer Value.
Fico Agradecido Desde Jб xD
Reply
#5

Tenta excluir essa linhas \/

pawn Код:
C:\Documents and Settings\Netinho\Desktop\Script Pawn\Metropole Virtual\gamemodes\CrimCity.pwn(3242) : warning 204: symbol is assigned a value that is never used: "pPos"
C:\Documents and Settings\Netinho\Desktop\Script Pawn\Metropole Virtual\gamemodes\CrimCity.pwn(1182) : warning 204: symbol is assigned a value that is never used: "BolsaDeValoresPick"
C:\Documents and Settings\Netinho\Desktop\Script Pawn\Metropole Virtual\gamemodes\CrimCity.pwn(1942) : warning 204: symbol is assigned a value that is never used: "ComputadorPick"
C:\Documents and Settings\Netinho\Desktop\Script Pawn\Metropole Virtual\gamemodes\CrimCity.pwn(1213) : warning 204: symbol is assigned a value that i
C:\Documents and Settings\Netinho\Desktop\Script Pawn\Metropole Virtual\gamemodes\CrimCity.pwn(1213) : warning 204: symbol is assigned a value that is never used: "EnterHospitalPick"
C:\Documents and Settings\Netinho\Desktop\Script Pawn\Metropole Virtual\gamemodes\CrimCity.pwn(1215) : warning 204: symbol is assigned a value that is never used: "ExitHospitalPick"
C:\Documents and Settings\Netinho\Desktop\Script Pawn\Metropole Virtual\gamemodes\CrimCity.pwn(1191) : warning 204: symbol is assigned a value that is never used: "FaculdadePick"
C:\Documents and Settings\Netinho\Desktop\Script Pawn\Metropole Virtual\gamemodes\CrimCity.pwn(1194) : warning 204: symbol is assigned a value that is never used: "GaragemJailPick"
C:\Documents and Settings\Netinho\Desktop\Script Pawn\Metropole Virtual\gamemodes\CrimCity.pwn(1216) : warning 204: symbol is assigned a value that is never used: "HospitalPick"
C:\Documents and Settings\Netinho\Desktop\Script Pawn\Metropole Virtual\gamemodes\CrimCity.pwn(1197) : warning 204: symbol is assigned a value that is never used: "LimparPick"
C:\Documents and Settings\Netinho\Desktop\Script Pawn\Metropole Virtual\gamemodes\CrimCi
C:\Documents and Settings\Netinho\Desktop\Script Pawn\Metropole Virtual\gamemodes\CrimCity.pwn(1219) : warning 204: symbol is assigned a value that is never used: "MacumbaPick"
C:\Documents and Settings\Netinho\Desktop\Script Pawn\Metropole Virtual\gamemodes\CrimCity.pwn(1122) : warning 204: symbol is assigned a value that is never used: "MainTimer"
C:\Documents and Settings\Netinho\Desktop\Script Pawn\Metropole Virtual\gamemodes\CrimCity.pwn(1203) : warning 204: symbol is assigned a value that is never used: "PizzaPick"
C:\Documents and Settings\Netinho\Desktop\Script Pawn\Metropole Virtual\gamemodes\CrimCity.pwn(1221) : warning 204: symbol is assigned a value that is never used: "RezaPick"
C:\Documents and Settings\Netinho\Desktop\Script Pawn\Metropole Virtual\gamemodes\CrimCity.pwn(1950) : warning 204: symbol is assigned a value that is never used: "on501vehicle"
C:\Documents and Settings\Netinho\Desktop\Script Pawn\Metropole Virtual\gamemodes\CrimCity.pwn(1951) : warning 204: symbol is assigned a value that is never used: "on702vehicle"
C:\Documents and Settings\Netinho\Desktop\Script
C:\Documents and Settings\Netinho\Desktop\Script Pawn\Metropole Virtual\gamemodes\CrimCity.pwn(1951 -- 18431) : warning 203: symbol is never used: "pCPActive"
C:\Documents and Settings\Netinho\Desktop\Script Pawn\Metropole Virtual\gamemodes\CrimCity.pwn(1951 -- 18431) : warning 203: symbol is never used: "pCPID"
C:\Documents and Settings\Netinho\Desktop\Script Pawn\Metropole Virtual\gamemodes\CrimCity.pwn(1951 -- 18431) : warning 203: symbol is never used: "soundID"
Reply
#6

Ahi nem vai compilar ne mano
Vai dar Fatal Error.
Reply
#7

Nem й para dar erro cara porq essas linhas nao estao sendo utilizado a nao ser que voc copiou isso ai de algum gm.
Reply
#8

pawn Код:
// TOPOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO
forward SaveStores();
forward SaveHouses();
forward MainTimer();
new Float:pPos[3][3];
new BolsadeValoresPick;
new ComputadorPick;
new EnterHospitalPick;
new ExitHospitalPick;
new FaculdadePick;
new GaragemJailPick;
new HospitalPick;
new LimparPick;
new MacumbaPick;
new PizzaPick;
new on501vehicle;
new on702vehicle;

//Tenta Vai dar Poucos Agora sу й postar
// CTRL + C Й V E FODA NE
Ou Esta Sendo Usado Como ta la .

CTRL + C Й V e **** nй
Reply
#9

Quote:
Originally Posted by Jonathan_Feitosa
Посмотреть сообщение
pawn Код:
// TOPOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO
forward SaveStores();
forward SaveHouses();
forward MainTimer();
new Float:pPos[3][3];
new BolsadeValoresPick;
new ComputadorPick;
new EnterHospitalPick;
new ExitHospitalPick;
new FaculdadePick;
new GaragemJailPick;
new HospitalPick;
new LimparPick;
new MacumbaPick;
new PizzaPick;
new on501vehicle;
new on702vehicle;

//Tenta Vai dar Poucos Agora sу й postar
// CTRL + C Й V E FODA NE
Ou Esta Sendo Usado Como ta la .

CTRL + C Й V e **** nй
Fumou?

Jб estгo sendo definidos mais nгo estгo sendo usados.
Entгo ele tem de procura-los e EXCLUI-LOS.
Reply
#10

Fooi oque eu falei ele precisa excluir !
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)