[AJUDA] Warning -
girafales - 08.12.2011
como arrumo esses warnings
C:\Users\MW3\Desktop\samp03dsvr_win32\gamemodes\Tr ucking.pwn(670) : warning 213: tag mismatch
C:\Users\MW3\Desktop\samp03dsvr_win32\gamemodes\Tr ucking.pwn(671) : warning 213: tag mismatch
C:\Users\MW3\Desktop\samp03dsvr_win32\gamemodes\Tr ucking.pwn(672) : warning 213: tag mismatch
C:\Users\MW3\Desktop\samp03dsvr_win32\gamemodes\Tr ucking.pwn(673) : warning 213: tag mismatch
C:\Users\MW3\Desktop\samp03dsvr_win32\gamemodes\Tr ucking.pwn(674) : warning 213: tag mismatch
C:\Users\MW3\Desktop\samp03dsvr_win32\gamemodes\Tr ucking.pwn(675) : warning 213: tag mismatch
C:\Users\MW3\Desktop\samp03dsvr_win32\gamemodes\Tr ucking.pwn(677) : warning 213: tag mismatch
C:\Users\MW3\Desktop\samp03dsvr_win32\gamemodes\Tr ucking.pwn(67
: warning 213: tag mismatch
C:\Users\MW3\Desktop\samp03dsvr_win32\gamemodes\Tr ucking.pwn(679) : warning 213: tag mismatch
C:\Users\MW3\Desktop\samp03dsvr_win32\gamemodes\Tr ucking.pwn(680) : warning 213: tag mismatch
C:\Users\MW3\Desktop\samp03dsvr_win32\gamemodes\Tr ucking.pwn(681) : warning 213: tag mismatch
C:\Users\MW3\Desktop\samp03dsvr_win32\gamemodes\Tr ucking.pwn(682) : warning 213: tag mismatch
C:\Users\MW3\Desktop\samp03dsvr_win32\gamemodes\Tr ucking.pwn(683) : warning 213: tag mismatch
C:\Users\MW3\Desktop\samp03dsvr_win32\gamemodes\Tr ucking.pwn(685) : warning 213: tag mismatch
C:\Users\MW3\Desktop\samp03dsvr_win32\gamemodes\Tr ucking.pwn(686) : warning 213: tag mismatch
C:\Users\MW3\Desktop\samp03dsvr_win32\gamemodes\Tr ucking.pwn(687) : warning 213: tag mismatch
C:\Users\MW3\Desktop\samp03dsvr_win32\gamemodes\Tr ucking.pwn(68
: warning 213: tag mismatch
C:\Users\MW3\Desktop\samp03dsvr_win32\gamemodes\Tr ucking.pwn(689) : warning 213: tag mismatch
C:\Users\MW3\Desktop\samp03dsvr_win32\gamemodes\Tr ucking.pwn(690) : warning 213: tag mismatch
C:\Users\MW3\Desktop\samp03dsvr_win32\gamemodes\Tr ucking.pwn(691) : warning 213: tag mismatch
C:\Users\MW3\Desktop\samp03dsvr_win32\gamemodes\Tr ucking.pwn(693) : warning 213: tag mismatch
C:\Users\MW3\Desktop\samp03dsvr_win32\gamemodes\Tr ucking.pwn(694) : warning 213: tag mismatch
C:\Users\MW3\Desktop\samp03dsvr_win32\gamemodes\Tr ucking.pwn(695) : warning 213: tag mismatch
C:\Users\MW3\Desktop\samp03dsvr_win32\gamemodes\Tr ucking.pwn(696) : warning 213: tag mismatch
C:\Users\MW3\Desktop\samp03dsvr_win32\gamemodes\Tr ucking.pwn(697) : warning 213: tag mismatch
C:\Users\MW3\Desktop\samp03dsvr_win32\gamemodes\Tr ucking.pwn(69
: warning 213: tag mismatch
C:\Users\MW3\Desktop\samp03dsvr_win32\gamemodes\Tr ucking.pwn(699) : warning 213: tag mismatch
C:\Users\MW3\Desktop\samp03dsvr_win32\gamemodes\Tr ucking.pwn(704) : warning 217: loose indentation
C:\Users\MW3\Desktop\samp03dsvr_win32\gamemodes\Tr ucking.pwn(1026) : warning 213: tag mismatch
C:\Users\MW3\Desktop\samp03dsvr_win32\gamemodes\Tr ucking.pwn(1027) : warning 213: tag mismatch
C:\Users\MW3\Desktop\samp03dsvr_win32\gamemodes\Tr ucking.pwn(1029) : warning 213: tag mismatch
C:\Users\MW3\Desktop\samp03dsvr_win32\gamemodes\Tr ucking.pwn(1031) : warning 217: loose indentation
C:\Users\MW3\Desktop\samp03dsvr_win32\gamemodes\Tr ucking.pwn(1035) : warning 213: tag mismatch
C:\Users\MW3\Desktop\samp03dsvr_win32\gamemodes\Tr ucking.pwn(1036) : warning 213: tag mismatch
C:\Users\MW3\Desktop\samp03dsvr_win32\gamemodes\Tr ucking.pwn(1044) : warning 213: tag mismatch
C:\Users\MW3\Desktop\samp03dsvr_win32\gamemodes\Tr ucking.pwn(1046) : warning 213: tag mismatch
C:\Users\MW3\Desktop\samp03dsvr_win32\gamemodes\Tr ucking.pwn(1047) : warning 213: tag mismatch
C:\Users\MW3\Desktop\samp03dsvr_win32\gamemodes\Tr ucking.pwn(1052) : warning 213: tag mismatch
C:\Users\MW3\Desktop\samp03dsvr_win32\gamemodes\Tr ucking.pwn(1053) : warning 217: loose indentation
C:\Users\MW3\Desktop\samp03dsvr_win32\gamemodes\Tr ucking.pwn(1053) : warning 213: tag mismatch
C:\Users\MW3\Desktop\samp03dsvr_win32\gamemodes\Tr ucking.pwn(1054) : warning 213: tag mismatch
C:\Users\MW3\Desktop\samp03dsvr_win32\gamemodes\Tr ucking.pwn(1055) : warning 213: tag mismatch
C:\Users\MW3\Desktop\samp03dsvr_win32\gamemodes\Tr ucking.pwn(1062) : warning 213: tag mismatch
C:\Users\MW3\Desktop\samp03dsvr_win32\gamemodes\Tr ucking.pwn(1063) : warning 213: tag mismatch
C:\Users\MW3\Desktop\samp03dsvr_win32\gamemodes\Tr ucking.pwn(1064) : warning 213: tag mismatch
C:\Users\MW3\Desktop\samp03dsvr_win32\gamemodes\Tr ucking.pwn(1315) : warning 217: loose indentation
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
55 Warnings.
Re: [AJUDA] Warning -
[NWD]Jim._.Carrey - 08.12.2011
Sem as linhas do erro nгo podemos ajudar ._.
Re: [AJUDA] Warning -
Laercio - 08.12.2011
Se vocк passa-se as linhas ajudava .....
Em relaзгo aos loose indentation
No topo do GM abaixo das includes
Re: [AJUDA] Warning -
ViniBorn - 08.12.2011
Quote:
Originally Posted by Laercio
Se vocк passa-se as linhas ajudava .....
Em relaзгo aos loose indentation
No topo do GM abaixo das includes
|
Como jб disseram antes. Isso й colocar a poeira pra debaixo do tapete...
Isso nгo й a soluзгo, й uma enganaзгo.
Re: [AJUDA] Warning -
girafales - 08.12.2011
mecanico = TextDrawCreate(495, 106, "MECANICO");
TextDrawFont(mecanico , 3);
TextDrawLetterSize(mecanico , 0.6, 1.3);
TextDrawColor(mecanico ,0x800040FF );
TextDrawSetOutline(mecanico , 0);
TextDrawSetProportional(mecanico , 1);
TextDrawSetShadow(mecanico , 1);
policiamilitar = TextDrawCreate(495, 106, "Policia Militar");
TextDrawFont(policiamilitar , 3);
TextDrawLetterSize(policiamilitar , 0.6, 1.3);
TextDrawColor(policiamilitar ,0x0000A0FF );
TextDrawSetOutline(policiamilitar , 0);
TextDrawSetProportional(policiamilitar , 1);
TextDrawSetShadow(policiamilitar , 1);
taxista = TextDrawCreate(495, 106, "Taxista");
TextDrawFont(taxista , 3);
TextDrawLetterSize(taxista , 0.6, 1.3);
TextDrawColor(taxista ,0xFF8000FF );
TextDrawSetOutline(taxista , 0);
TextDrawSetProportional(taxista , 1);
TextDrawSetShadow(taxista , 1);
atendentepedagio = TextDrawCreate(495, 106, "Atendente");
TextDrawFont(atendentepedagio , 3);
TextDrawLetterSize(atendentepedagio , 0.6, 1.3);
TextDrawColor(atendentepedagio ,0x00FF40FF );
TextDrawSetOutline(atendentepedagio , 0);
TextDrawSetProportional(atendentepedagio , 1);
TextDrawSetShadow(atendentepedagio , 1);
atendentepedagio2 = TextDrawCreate(492, 120, "Pedagio");
TextDrawFont(atendentepedagio2 , 3);
TextDrawLetterSize(atendentepedagio2 , 0.6, 1.3);
TextDrawColor(atendentepedagio2 ,0x00FF40FF );
TextDrawSetOutline(atendentepedagio2 , 0);
TextDrawSetProportional(atendentepedagio2 , 1);
TextDrawSetShadow(atendentepedagio2 , 1);
ta ai alguns warnings
Re: [AJUDA] Warning -
humildadeforever - 08.12.2011
Para arrumar os warnings de Loose indentation use esse site,nгo use #pragma nгo . Copia as linhas que tem o warning e cole em input,depois clique em convert e copie o novo code.
E testa esse textdraw pra ver se da erro.
topo do gm
Em OnGameModeInit
pawn Код:
bemvindo = TextDrawCreate(240.0,580.0,"Bem vindo ao server");
E em OnPlayerConnect
pawn Код:
TextDrawShowForPlayer(playerid,bemvindo);
Re: [AJUDA] Warning -
DreeH - 08.12.2011
Os warnings sгo causados, pois suas variбveis/arrays, nгo estгo declaradas com as tags necessбrias para essa funзгo.
Procure no seu gamemode, algo assim:
pawn Код:
new mecanico;
new policiamilitar;
new taxista;
new atendentepedagio;
new atendentepedagio2;
E troque por estes.
pawn Код:
new
Text:mecanico,
Text:policiamilitar,
Text:taxista,
Text:atendentepedagio,
Text:atendentepedagio2;
Boa sorte.
Re: [AJUDA] Warning -
girafales - 09.12.2011
os warnings estao ali no codigo que eu passei, nгo resolveu o problema de 55 warnings baixo pra 50
alguem ajuda ai