[Ajuda Simples] Warnings no GM
#1

Daew galera to com os seguintes Warnings no gm. Conto com a Ajuda de Vcs ^^

Код:
C:\Documents and Settings\usuario\Desktop\PauloYsaacOFC\BER\Brasil Elite RPG\gamemodes\BER2.pwn(3603) : warning 202: number of arguments does not match definition
C:\Documents and Settings\usuario\Desktop\PauloYsaacOFC\BER\Brasil Elite RPG\gamemodes\BER2.pwn(3603) : warning 202: number of arguments does not match definition
C:\Documents and Settings\usuario\Desktop\PauloYsaacOFC\BER\Brasil Elite RPG\gamemodes\BER2.pwn(3603) : warning 202: number of arguments does not match definition
C:\Documents and Settings\usuario\Desktop\PauloYsaacOFC\BER\Brasil Elite RPG\gamemodes\BER2.pwn(3605) : warning 202: number of arguments does not match definition
C:\Documents and Settings\usuario\Desktop\PauloYsaacOFC\BER\Brasil Elite RPG\gamemodes\BER2.pwn(3605) : warning 202: number of arguments does not match definition
C:\Documents and Settings\usuario\Desktop\PauloYsaacOFC\BER\Brasil Elite RPG\gamemodes\BER2.pwn(3605) : warning 202: number of arguments does not match definition
C:\Documents and Settings\usuario\Desktop\PauloYsaacOFC\BER\Brasil Elite RPG\gamemodes\BER2.pwn(3610) : warning 202: number of arguments does not match definition
C:\Documents and Settings\usuario\Desktop\PauloYsaacOFC\BER\Brasil Elite RPG\gamemodes\BER2.pwn(3610) : warning 202: number of arguments does not match definition
C:\Documents and Settings\usuario\Desktop\PauloYsaacOFC\BER\Brasil Elite RPG\gamemodes\BER2.pwn(3610) : warning 202: number of arguments does not match definition
C:\Documents and Settings\usuario\Desktop\PauloYsaacOFC\BER\Brasil Elite RPG\gamemodes\BER2.pwn(3611) : warning 202: number of arguments does not match definition
C:\Documents and Settings\usuario\Desktop\PauloYsaacOFC\BER\Brasil Elite RPG\gamemodes\BER2.pwn(3611) : warning 202: number of arguments does not match definition
C:\Documents and Settings\usuario\Desktop\PauloYsaacOFC\BER\Brasil Elite RPG\gamemodes\BER2.pwn(3611) : warning 202: number of arguments does not match definition
C:\Documents and Settings\usuario\Desktop\PauloYsaacOFC\BER\Brasil Elite RPG\gamemodes\BER2.pwn(30874) : warning 217: loose indentation
C:\Documents and Settings\usuario\Desktop\PauloYsaacOFC\BER\Brasil Elite RPG\gamemodes\BER2.pwn(30890) : warning 217: loose indentation
C:\Documents and Settings\usuario\Desktop\PauloYsaacOFC\BER\Brasil Elite RPG\gamemodes\BER2.pwn(45757) : warning 202: number of arguments does not match definition
C:\Documents and Settings\usuario\Desktop\PauloYsaacOFC\BER\Brasil Elite RPG\gamemodes\BER2.pwn(45767) : warning 202: number of arguments does not match definition
C:\Documents and Settings\usuario\Desktop\PauloYsaacOFC\BER\Brasil Elite RPG\gamemodes\BER2.pwn(46102) : warning 202: number of arguments does not match definition
C:\Documents and Settings\usuario\Desktop\PauloYsaacOFC\BER\Brasil Elite RPG\gamemodes\BER2.pwn(52616) : warning 219: local variable "sendername" shadows a variable at a preceding level
C:\Documents and Settings\usuario\Desktop\PauloYsaacOFC\BER\Brasil Elite RPG\gamemodes\BER2.pwn(52648) : warning 219: local variable "sendername" shadows a variable at a preceding level
C:\Documents and Settings\usuario\Desktop\PauloYsaacOFC\BER\Brasil Elite RPG\gamemodes\BER2.pwn(52680) : warning 219: local variable "sendername" shadows a variable at a preceding level
C:\Documents and Settings\usuario\Desktop\PauloYsaacOFC\BER\Brasil Elite RPG\gamemodes\BER2.pwn(52712) : warning 219: local variable "sendername" shadows a variable at a preceding level
C:\Documents and Settings\usuario\Desktop\PauloYsaacOFC\BER\Brasil Elite RPG\gamemodes\BER2.pwn(52744) : warning 219: local variable "sendername" shadows a variable at a preceding level
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase

Header size:          13440 bytes
Code size:          2670180 bytes
Data size:          7131164 bytes
Stack/heap size:      16384 bytes; estimated max. usage: unknown, due to recursion
Total requirements: 9831168 bytes

22 Warnings.
As Linhas sгo.

Quote:

3603 FaCars[0] = CreateVehicle(425,2745.6416,-2431.8508,13.6432,270.6151,0,0,0,0,0,0);
3605 FaCars[2] = CreateVehicle(425,2741.7310,-2491.0125,13.6498,281.7259,0,0,0,0,0,0);
3610 FaCars[7] = CreateVehicle(520,2744.3438,-2470.6770,13.6484,266.9991,0,0,0,0,0,0);
3611 FaCars[8] = CreateVehicle(520,2758.4314,-2395.8015,13.6328,176.2329,0,0,0,0,0,0);
30874 if (strcmp("/gps", cmdtext, true, 10) == 0)
30890 if (strcmp("/carmenu", cmdtext, true, 10) == 0)
45757 SendClientMessageToAll(DARKPINK,string,1);
46102 SendClientMessageToAll(COLOR_YELLOW, string, 1);
52616 new sendername[MAX_PLAYER_NAME];
52648 new sendername[MAX_PLAYER_NAME];
52680 new sendername[MAX_PLAYER_NAME];
52712 new sendername[MAX_PLAYER_NAME];
52744 new sendername[MAX_PLAYER_NAME];

//Pronto Galera Espero Respostas^^

Reply
#2

Tira todos os sendername's e coloque no inicio do gamemode
pawn Код:
new sendername[MAX_PLAYERS];
Tem parвmetros faltando

A indentaзгo nгo estб boa :B

pawn Код:
CreateVehicle(520,2758.4314,-2395.8015,13.6328,176.2329,0,0,-1);
Reply
#3

Quote:

3603 FaCars[0] = CreateVehicle(425,2745.6416,-2431.8508,13.6432,270.6151,0,0,0,0,0,0);
3605 FaCars[2] = CreateVehicle(425,2741.7310,-2491.0125,13.6498,281.7259,0,0,0,0,0,0);
3610 FaCars[7] = CreateVehicle(520,2744.3438,-2470.6770,13.6484,266.9991,0,0,0,0,0,0);
3611 FaCars[8] = CreateVehicle(520,2758.4314,-2395.8015,13.6328,176.2329,0,0,0,0,0,0);
30874 if (strcmp("/gps", cmdtext, true, 10) == 0)
30890 if (strcmp("/carmenu", cmdtext, true, 10) == 0)
45757 SendClientMessageToAll(DARKPINK,string,1);
46102 SendClientMessageToAll(COLOR_YELLOW, string, 1);
52616 new sendername[MAX_PLAYER_NAME];
52648 new sendername[MAX_PLAYER_NAME];
52680 new sendername[MAX_PLAYER_NAME];
52712 new sendername[MAX_PLAYER_NAME];
52744 new sendername[MAX_PLAYER_NAME];

PHP код:
new sendername[MAX_PLAYER_NAME];  // tire essas linhas e coloque no topo do seu GM
new sendername[MAX_PLAYER_NAME];
new 
sendername[MAX_PLAYER_NAME];
new 
sendername[MAX_PLAYER_NAME];
new 
sendername[MAX_PLAYER_NAME];
// ---
SendClientMessageToAll(DARKPINK,string,1); // tira o 1 do final SendClientMessageToAll(DARKPINK,string);
SendClientMessageToAll(COLOR_YELLOWstring1); // aqui mesma coisa
// ---
FaCars[0] = CreateVehicle(425,2745.6416,-2431.8508,13.6432,270.6151,0,0,0,0,0,0); // deixe FaCars[0] = CreateVehicle(425,2745.6416,-2431.8508,270.6151,0,0,0,0,0,0);
FaCars[2] = CreateVehicle(425,2741.7310,-2491.0125,13.6498,0,0,0,0,0,0); // deixe FaCars[2] = CreateVehicle(425,2741.7310,-2491.0125,13.6498,0,0,0,0,0,0);
FaCars[7] = CreateVehicle(520,2744.3438,-2470.6770,13.6484,0,0,0,0,0,0); // deixe FaCars[7] = CreateVehicle(520,2744.3438,-2470.6770,13.6484,0,0,0,0,0,0);
FaCars[8] = CreateVehicle(520,2758.4314,-2395.8015,13.6328,176.2329,0,0,0,0,0,0); // deixe FaCars[8] = CreateVehicle(520,2758.4314,-2395.8015,13.6328,0,0,0,0,0,0); 
Reply
#4

Resolvido Pelo MSN.. Por JonaThan Feitosa^^

JFS
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)