[AJUDA] Waring!!!
#1

Ae nao sei se podia fazer outro topico!!!
to com 22 waring no meu gm e nao consigo tira eles
vo posta cada um e suas linhas...

Warings:

Код:
C:\Documents and Settings\Administrador\Desktop\Viciados 0.3b\pawno\include\F_Streamer.inc(72) : warning 219: local variable "rx" shadows a variable at a preceding level
C:\Documents and Settings\Administrador\Desktop\Viciados 0.3b\pawno\include\F_Streamer.inc(72) : warning 219: local variable "ry" shadows a variable at a preceding level
C:\Documents and Settings\Administrador\Desktop\Viciados 0.3b\pawno\include\F_Streamer.inc(72) : warning 219: local variable "rz" shadows a variable at a preceding level
C:\Documents and Settings\Administrador\Desktop\Viciados 0.3b\pawno\include\F_Streamer.inc(228) : warning 219: local variable "rx" shadows a variable at a preceding level
C:\Documents and Settings\Administrador\Desktop\Viciados 0.3b\pawno\include\F_Streamer.inc(228) : warning 219: local variable "ry" shadows a variable at a preceding level
C:\Documents and Settings\Administrador\Desktop\Viciados 0.3b\pawno\include\F_Streamer.inc(228) : warning 219: local variable "rz" shadows a variable at a preceding level
C:\Documents and Settings\Administrador\Desktop\Viciados 0.3b\pawno\include\F_Streamer.inc(249) : warning 219: local variable "rx" shadows a variable at a preceding level
C:\Documents and Settings\Administrador\Desktop\Viciados 0.3b\pawno\include\F_Streamer.inc(249) : warning 219: local variable "ry" shadows a variable at a preceding level
C:\Documents and Settings\Administrador\Desktop\Viciados 0.3b\pawno\include\F_Streamer.inc(249) : warning 219: local variable "rz" shadows a variable at a preceding level
C:\Documents and Settings\Administrador\Desktop\Viciados 0.3b\gamemodes\Viciados.pwn(3707) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Administrador\Desktop\Viciados 0.3b\gamemodes\Viciados.pwn(3708) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Administrador\Desktop\Viciados 0.3b\gamemodes\Viciados.pwn(3709) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Administrador\Desktop\Viciados 0.3b\gamemodes\Viciados.pwn(3710) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Administrador\Desktop\Viciados 0.3b\gamemodes\Viciados.pwn(3711) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Administrador\Desktop\Viciados 0.3b\gamemodes\Viciados.pwn(11666) : warning 217: loose indentation
C:\Documents and Settings\Administrador\Desktop\Viciados 0.3b\gamemodes\Viciados.pwn(11666) : warning 217: loose indentation
C:\Documents and Settings\Administrador\Desktop\Viciados 0.3b\gamemodes\Viciados.pwn(11668) : warning 217: loose indentation
C:\Documents and Settings\Administrador\Desktop\Viciados 0.3b\gamemodes\Viciados.pwn(11670) : warning 217: loose indentation
C:\Documents and Settings\Administrador\Desktop\Viciados 0.3b\gamemodes\Viciados.pwn(11672) : warning 217: loose indentation
C:\Documents and Settings\Administrador\Desktop\Viciados 0.3b\gamemodes\Viciados.pwn(11674) : warning 217: loose indentation
C:\Documents and Settings\Administrador\Desktop\Viciados 0.3b\gamemodes\Viciados.pwn(11676) : warning 217: loose indentation
C:\Documents and Settings\Administrador\Desktop\Viciados 0.3b\gamemodes\Viciados.pwn(11679) : warning 217: loose indentation
Pawn compiler 3.2.3664              Copyright © 1997-2006, ITB CompuPhase


22 Warnings.
Linhas:

Код:
72 #define COLOR_BODY 0xFDE39DAA
228 forward PortaoPredio();
249 forward LoadIRC();
3707 F_CreateObject(2922,245.15853881836,72.328125,1004.0431518555,0,0,174,6,0);
3708 F_CreateObject(2922,252.4065246582,75.023490905762,1004.2067260742,0,0,272,6,0);
3709 F_CreateObject(2922,302.28125,182.91801452637,1008.1952514648,0,0,86,3,0);
3710 F_CreateObject(2922,239.83438110352,122.70248413086,1003.8470458984,0,0,268,10,0);
3711 F_CreateObject(2922,311.95693969727,-170.421875,1000.1195678711,0,0,0,6,0);
11666 	if(points == 1) { if(WantedLevel[playerid] != 1) { WantedLevel[playerid] = 1; wlevel = 1; yesno = 1; } SetPlayerWantedLevel(playerid,1);
11666 	if(points == 1) { if(WantedLevel[playerid] != 1) { WantedLevel[playerid] = 1; wlevel = 1; yesno = 1; } SetPlayerWantedLevel(playerid,1);
11668 			else if(points >= 2 && points <= 3) { if(WantedLevel[playerid] != 2) { WantedLevel[playerid] = 0; wlevel = 2; yesno = 1; } SetPlayerWantedLevel(playerid,2);
11670 			else if(points >= 4 && points <= 5) { if(WantedLevel[playerid] != 3) { WantedLevel[playerid] = 3; wlevel = 3; yesno = 1; }SetPlayerWantedLevel(playerid,3);
11674 			else if(points >= 8 && points <= 9) { if(WantedLevel[playerid] != 5) { WantedLevel[playerid] = 5; wlevel = 5; yesno = 1; } SetPlayerWantedLevel(playerid,5);
11676 			else if(points >= 10 && points <= 11) { if(WantedLevel[playerid] != 6) { WantedLevel[playerid] = 6; wlevel = 6; yesno = 1; } SetPlayerWantedLevel(playerid,6);
11679 if(WantedLevel[playerid] >= 1) { if(gTeam[playerid] == 3) { gTeam[playerid] = 4; } }
Reply
#2

po na moral posta as linhas em [paw.n] [/paw.n] e outra tira essas letra escura й mo saco de enchergar deicha normal do [cod] [/cod] ai й melhor.


esses warnings
Код:
C:\Documents and Settings\Administrador\Desktop\Viciados 0.3b\pawno\include\F_Streamer.inc(72) : warning 219: local variable "rx" shadows a variable at a preceding level
C:\Documents and Settings\Administrador\Desktop\Viciados 0.3b\pawno\include\F_Streamer.inc(72) : warning 219: local variable "ry" shadows a variable at a preceding level
C:\Documents and Settings\Administrador\Desktop\Viciados 0.3b\pawno\include\F_Streamer.inc(72) : warning 219: local variable "rz" shadows a variable at a preceding level
C:\Documents and Settings\Administrador\Desktop\Viciados 0.3b\pawno\include\F_Streamer.inc(228) : warning 219: local variable "rx" shadows a variable at a preceding level
C:\Documents and Settings\Administrador\Desktop\Viciados 0.3b\pawno\include\F_Streamer.inc(228) : warning 219: local variable "ry" shadows a variable at a preceding level
C:\Documents and Settings\Administrador\Desktop\Viciados 0.3b\pawno\include\F_Streamer.inc(228) : warning 219: local variable "rz" shadows a variable at a preceding level
C:\Documents and Settings\Administrador\Desktop\Viciados 0.3b\pawno\include\F_Streamer.inc(249) : warning 219: local variable "rx" shadows a variable at a preceding level
C:\Documents and Settings\Administrador\Desktop\Viciados 0.3b\pawno\include\F_Streamer.inc(249) : warning 219: local variable "ry" shadows a variable at a preceding level
C:\Documents and Settings\Administrador\Desktop\Viciados 0.3b\pawno\include\F_Streamer.inc(249) : warning 219: local variable "rz" shadows a variable at a preceding level
й o include.
Reply
#3

Quote:

po na moral posta as linhas em

Код:
72  ==> #define COLOR_BODY 0xFDE39DAA
228  ==> forward PortaoPredio();

249  ==> forward LoadIRC();

3707 ==>  F_CreateObject(2922,245.15853881836,72.328125,1004.0431518555,0,0,174,6,0);

3708 ==>  F_CreateObject(2922,252.4065246582,75.023490905762,1004.2067260742,0,0,272,6,0);

3709  ==> F_CreateObject(2922,302.28125,182.91801452637,1008.1952514648,0,0,86,3,0);

3710  ==> F_CreateObject(2922,239.83438110352,122.70248413086,1003.8470458984,0,0,268,10,0);

3711  ==> F_CreateObject(2922,311.95693969727,-170.421875,1000.1195678711,0,0,0,6,0);

11666 ==> if(points == 1) { if(WantedLevel[playerid] != 1) { WantedLevel[playerid] = 1; wlevel = 1; yesno = 1; } SetPlayerWantedLevel(playerid,1);

11666  ==>  if(points == 1) { if(WantedLevel[playerid] != 1) { WantedLevel[playerid] = 1; wlevel = 1; yesno = 1; } SetPlayerWantedLevel(playerid,1);

11668 ==> else if(points >= 2 && points <= 3) { if(WantedLevel[playerid] != 2) { WantedLevel[playerid] = 0; wlevel = 2; yesno = 1; } SetPlayerWantedLevel(playerid,2);

11670 ==> else if(points >= 4 && points <= 5) { if(WantedLevel[playerid] != 3) { WantedLevel[playerid] = 3; wlevel = 3; yesno = 1; }SetPlayerWantedLevel(playerid,3);

11674 ==> else if(points >= 8 && points <= 9) { if(WantedLevel[playerid] != 5) { WantedLevel[playerid] = 5; wlevel = 5; yesno = 1; } SetPlayerWantedLevel(playerid,5);

11676 ==> else if(points >= 10 && points <= 11) { if(WantedLevel[playerid] != 6) { WantedLevel[playerid] = 6; wlevel = 6; yesno = 1; } SetPlayerWantedLevel(playerid,6);

11679 ==> if(WantedLevel[playerid] >= 1) { if(gTeam[playerid] == 3) { gTeam[playerid] = 4; } }
Reply
#4

11666 - 11679

https://sampforum.blast.hk/showthread.php?tid=170773

3707 - 3711
pawn Код:
CreateObject(2922,245.15853881836,72.328125,1004.0431518555);
CreateObject(2922,252.4065246582,75.023490905762,1004.2067260742);
CreateObject(2922,302.28125,182.91801452637,1008.1952514648);
CreateObject(2922,239.83438110352,122.70248413086,1003.8470458984);
CreateObject(2922,311.95693969727,-170.421875,1000.1195678711);
72, 228 e 248 й uma include entгo posta as linhas da INC ai pra nois ver!

@OFF, Edit

killer, me passa o ID das cameras do radar que vc tem?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)