[AJUDA] Warnings.
#1

Por favor , alguem poderia me ajudar nos seguintes " Avisos " ..

pawn Код:
C:\Documents and Settings\Wallace\Desktop\Servidor de Samp\gamemodes\Life.pwn(2230) : warning 204: symbol is assigned a value that is never used: "str2"
C:\Documents and Settings\Wallace\Desktop\Servidor de Samp\gamemodes\Life.pwn(2343) : warning 204: symbol is assigned a value that is never used: "str2"

Se puder ajudar por favor seria muito grato.

Se nem for para ajudar, por favor nem responda =/

(y' Espero resposta , obrigado
Reply
#2

Meu amigo, o erro й causado devido a variбvel "str2" nгo estar sendo usada.

Para resolver, faзa o seguinte:

Dк um ctrl + F e digite "str2", logo apуs apague essa variбvel.
Reply
#3

Mas isso ta nas linhas do ban .-.'

pawn Код:
new str2[128], conta[128], IP[128], string[256];
    if(dini_Int("Banidos.ini", nome(playerid)) == 0){
Reply
#4

Sу que mesmo assim ela nгo estб sendo usada. Estб somente ali sem utilidade alguma no cуdigo.
Reply
#5

Ok vou tentar '-'
Reply
#6

pawn Код:
C:\Documents and Settings\Wallace\Desktop\Servidor de Samp\gamemodes\Life.pwn(2231) : warning 209: function "OnPlayerConnect" should return a value
C:\Documents and Settings\Wallace\Desktop\Servidor de Samp\gamemodes\Life.pwn(2232) : error 010: invalid function or declaration
C:\Documents and Settings\Wallace\Desktop\Servidor de Samp\gamemodes\Life.pwn(2241) : error 021: symbol already defined: "SetPlayerMapIcon"
C:\Documents and Settings\Wallace\Desktop\Servidor de Samp\gamemodes\Life.pwn(2303) : error 021: symbol already defined: "SendClientMessage"
C:\Documents and Settings\Wallace\Desktop\Servidor de Samp\gamemodes\Life.pwn(2314) : error 021: symbol already defined: "dini_Set"
C:\Documents and Settings\Wallace\Desktop\Servidor de Samp\gamemodes\Life.pwn(2319) : error 010: invalid function or declaration
C:\Documents and Settings\Wallace\Desktop\Servidor de Samp\gamemodes\Life.pwn(2324) : error 010: invalid function or declaration
C:\Documents and Settings\Wallace\Desktop\Servidor de Samp\gamemodes\Life.pwn(2326) : error 010: invalid function or declaration
C:\Documents and Settings\Wallace\Desktop\Servidor de Samp\gamemodes\Life.pwn(2341) : warning 204: symbol is assigned a value that is never used: "str3"
Pawn compiler 3.2.3664          Copyright (c) 1997-2006, ITB CompuPhase


7 Errors.
euri '-'


Este fуrum requer que vocк espere 120 segundos entre posts. Por favor, tente novamente em 35 segundos. Fail -q
Reply
#7

Poste as linhas.
Reply
#8

Melhor...

Esses warnings irгo me causar problemas no futuro?
...
Reply
#9

No lugar disso

pawn Код:
new str2[128], conta[128], IP[128], string[256];
Coloca isso

pawn Код:
new conta[128], IP[128], string[256];
Reply
#10

Obrigado Vini, mas ainda ficou 1 warning

pawn Код:
C:\Documents and Settings\Wallace\Desktop\Servidor de Samp\gamemodes\Life.pwn(2343) : warning 204: symbol is assigned a value that is never used: "str1"
O que tem na linha?

pawn Код:
new str1[128];
    switch(reason)
( Somente o " new str[128]; )
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)