[Ajuda] 7 Erros Inc SII e sscanf2
#1

Bom eu mechia somente com strcmp ai um amigo Caio Freeze falou que o sscanf2 alem de ser mais rapido й mais facil de manusear entгo comeзei a mudar tudo para sscanf2 porem deu erro na INC SII e sscanf2.
Код:
C:\Users\Vinicius\Videos\Projeto\pawno\include\SII.inc(260) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Vinicius\Videos\Projeto\pawno\include\sscanf2.inc(218) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Vinicius\Videos\Projeto\pawno\include\sscanf2.inc(218) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Vinicius\Videos\Projeto\pawno\include\sscanf2.inc(278) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Vinicius\Videos\Projeto\pawno\include\sscanf2.inc(278) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Vinicius\Videos\Projeto\gamemodes\Vini.pwn(1386) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Vinicius\Videos\Projeto\gamemodes\Vini.pwn(1518) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Vinicius\Videos\Projeto\gamemodes\Vini.pwn(1589) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Vinicius\Videos\Projeto\gamemodes\Vini.pwn(1620) : error 010: invalid function or declaration
C:\Users\Vinicius\Videos\Projeto\gamemodes\Vini.pwn(1845) : warning 209: function "cmd_aceitar" should return a value
C:\Users\Vinicius\Videos\Projeto\gamemodes\Vini.pwn(1986) : error 075: input line too long (after substitutions)
C:\Users\Vinicius\Videos\Projeto\gamemodes\Vini.pwn(1987) : error 017: undefined symbol "PlayerInf"
C:\Users\Vinicius\Videos\Projeto\gamemodes\Vini.pwn(1988) : error 017: undefined symbol "o"
C:\Users\Vinicius\Videos\Projeto\gamemodes\Vini.pwn(1988) : warning 217: loose indentation
C:\Users\Vinicius\Videos\Projeto\gamemodes\Vini.pwn(1988) : warning 215: expression has no effect
C:\Users\Vinicius\Videos\Projeto\gamemodes\Vini.pwn(1988) : error 001: expected token: ";", but found "]"
C:\Users\Vinicius\Videos\Projeto\gamemodes\Vini.pwn(1988) : error 029: invalid expression, assumed zero
C:\Users\Vinicius\Videos\Projeto\gamemodes\Vini.pwn(1988) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


7 Errors.
Alguem ajuda ai vlw!

@Obs: ja atualizei a inc SII e sscanf2
Reply
#2

Vocк ta usando uma variavel global que ta dando conflito com a do sscanf, PlayerInfo e um simbolo nгo defeinido !
E tem um lugar que tu abril com [ e nгo fechou .
Reply
#3

Quote:
Originally Posted by mau.tito
Посмотреть сообщение
Vocк ta usando uma variavel global que ta dando conflito com a do sscanf, PlayerInfo e um simbolo nгo defeinido !
E tem um lugar que tu abril com [ e nгo fechou .
Vlw mau.tito!

porem tem um problema!
Como estou mudando para sscanf como eu faзo para converter isso aqui?
pawn Код:
if(newkeys == 16 && GetPlayerState(playerid) == PLAYER_STATE_ONFOOT)
    {
        OnPlayerCommandText(playerid,"/entrar");
        OnPlayerCommandText(playerid,"/sair");
    }
Reply
#4

se vc estiver usando zcmd use assim:

pawn Код:
if(newkeys == 16 && GetPlayerState(playerid) == PLAYER_STATE_ONFOOT)
    {
        cmd_entrar(playerid, #);
        cmd_sair(playerid, #);
    }
Reply
#5

Quote:
Originally Posted by Caio_Freeze
Посмотреть сообщение
se vc estiver usando zcmd use assim:

pawn Код:
if(newkeys == 16 && GetPlayerState(playerid) == PLAYER_STATE_ONFOOT)
    {
        cmd_entrar(playerid, #);
        cmd_sair(playerid, #);
    }
100% compiled ^^
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)