SA-MP Forums Archive
[Ajuda] Erros PWN - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: Non-English (https://sampforum.blast.hk/forumdisplay.php?fid=9)
+--- Forum: Languages (https://sampforum.blast.hk/forumdisplay.php?fid=33)
+---- Forum: Português/Portuguese (https://sampforum.blast.hk/forumdisplay.php?fid=34)
+---- Thread: [Ajuda] Erros PWN (/showthread.php?tid=630490)



Erros PWN - DhylaaN - 15.03.2017

Galera estou com seguinte problema.

Код:
-pwn(280) : warning 201: redefinition of constant/macro (symbol "MCarro")
-pwn(281) : warning 201: redefinition of constant/macro (symbol "MCarro")
-pwn(324) : warning 201: redefinition of constant/macro (symbol "Exercito")
-pwn(331) : warning 201: redefinition of constant/macro (symbol "Minerador")
-pwn(340) : warning 201: redefinition of constant/macro (symbol "Bombeiro")
-pwn(13831) : warning 219: local variable "tmp" shadows a variable at a preceding level
-pwn(16479) : warning 217: loose indentation
-pwn(16484) : warning 217: loose indentation
-pwn(16485) : warning 217: loose indentation
-pwn(16486) : warning 217: loose indentation
-pwn(16490) : warning 217: loose indentation
-pwn(16495) : warning 217: loose indentation
-pwn(16519) : warning 217: loose indentation
-pwn(19160) : warning 202: number of arguments does not match definition
-pwn(20490) : warning 217: loose indentation
-pwn(20545) : warning 217: loose indentation
-pwn(22805) : warning 203: symbol is never used: "bancoa"
-pwn(23020) : warning 217: loose indentation
-pwn(23256) : warning 213: tag mismatch
-pwn(39068) : warning 203: symbol is never used: "AreaCaca"


Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase

Header size:          10480 bytes
Code size:          1625504 bytes
Data size:          3945232 bytes
Stack/heap size:      16384 bytes; estimated max. usage: unknown, due to recursion
Total requirements: 5597600 bytes

20 Warnings.



Re: Erros PWN - [BOPE]Seu._.Madruga - 15.03.2017

Poste os cуdigos de cada linha que apareceu erro.


Re: Erros PWN - DhylaaN - 15.03.2017

Jб esta as Linhas no (Cod), e os erros.


Re: Erros PWN - [BOPE]Seu._.Madruga - 15.03.2017

Eu quero os cуdigos -.-'


Re: Erros PWN - GuilhermeNunes - 15.03.2017

Se tu n postar o cуdigo como nуs vamos te ajudar nos nгo й vidente e os Erros Loose identation
й que o cуdigo esta mal identado Use esse site para identar os seus cуdigos >>> http://tabulador.medianewsonline.com/


Re: Erros PWN - DhylaaN - 15.03.2017

Erro 219
PHP код:
    new tmp[128]; 
Erro 202
PHP код:
    dini_FloatSet(file,"CasaY",Float:8987,2382); 
Erro 203
PHP код:
    new bancoa,Float:x,Float:y,Float:z
Erro 213
PHP код:
if(checknome == checkbar || checknome == checknome == checkbarlv || checknome == entrarb){ 
Erro 217
PHP код:
        new Float:X,Float:Y,Float:Z,Float:Angle;
  
tmp strtok(cmdtextidx);
            if(!
strlen(tmp)) {
     
plid strval(tmp);
        if(
IsPlayerConnected(playerid)) {
    return 
1;
     return 
1;
    if(!
IsPlayerAdmin(playerid)) 
Pronto


Re: Erros PWN - Carlos001 - 15.03.2017

Quote:
Originally Posted by DhylaaN
Посмотреть сообщение
Erro 219
PHP код:
    new tmp[128]; 
Erro 202
PHP код:
    dini_FloatSet(file,"CasaY",Float:8987,2382); 
Erro 203
PHP код:
    new bancoa,Float:x,Float:y,Float:z
Erro 213
PHP код:
if(checknome == checkbar || checknome == checknome == checkbarlv || checknome == entrarb){ 
Erro 217
PHP код:
        new Float:X,Float:Y,Float:Z,Float:Angle;
  
tmp strtok(cmdtextidx);
            if(!
strlen(tmp)) {
     
plid strval(tmp);
        if(
IsPlayerConnected(playerid)) {
    return 
1;
     return 
1;
    if(!
IsPlayerAdmin(playerid)) 
Pronto
Jб postei acima, dizendo oque й cada um daqueles Erros/Warning, Basta Ler, й colocar em Pratica...


Re: Erros PWN - GuilhermeNunes - 15.03.2017

vc quer criar um comando de carro? й isso pelo que eu entendi se quiser eu do o meu que funciona 100%


Re: Erros PWN - DhylaaN - 15.03.2017

Quote:
Originally Posted by GuilhermeNunes
Посмотреть сообщение
vc quer criar um comando de carro? й isso pelo que eu entendi se quiser eu do o meu que funciona 100%
Eu estou tentando mexer em um gamemode dos los krakudos que й igual dos los katchorros, porйm estб com esses erros, mas dentro do game nгo apresenta bug tendeu?