[ajuda] erros
#1

eae .

Quote:

C:\Users\Rafael\Desktop\samp server\gm\gamemodes\crp.pwn(1300) : warning 217: loose indentation
C:\Users\Rafael\Desktop\samp server\gm\gamemodes\crp.pwn(7380) : error 047: array sizes do not match, or destination array is too small
C:\Users\Rafael\Desktop\samp server\gm\gamemodes\crp.pwn(7439) : error 047: array sizes do not match, or destination array is too small
C:\Users\Rafael\Desktop\samp server\gm\gamemodes\crp.pwn(10087) : error 047: array sizes do not match, or destination array is too small
C:\Users\Rafael\Desktop\samp server\gm\gamemodes\crp.pwn(10215) : error 047: array sizes do not match, or destination array is too small
C:\Users\Rafael\Desktop\samp server\gm\gamemodes\crp.pwn(1052 : error 047: array sizes do not match, or destination array is too small
C:\Users\Rafael\Desktop\samp server\gm\gamemodes\crp.pwn(11889) : warning 217: loose indentation
C:\Users\Rafael\Desktop\samp server\gm\gamemodes\crp.pwn(11934) : warning 217: loose indentation
C:\Users\Rafael\Desktop\samp server\gm\gamemodes\crp.pwn(14316) : error 025: function heading differs from prototype
C:\Users\Rafael\Desktop\samp server\gm\gamemodes\crp.pwn(14317) : error 021: symbol already defined: "strtok"
C:\Users\Rafael\Desktop\samp server\gm\gamemodes\crp.pwn(14327) : error 047: array sizes do not match, or destination array is too small
C:\Users\Rafael\Desktop\samp server\gm\gamemodes\crp.pwn(16374) : error 021: symbol already defined: "HexToInt"
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


9 Errors.

Ajuda ae

Dф reputaзгo a quem der uma joinha ai
Reply
#2

Apaga a definiзгo da linha 14317 e 16374.

Agora o resto й sу vocк mandando o cуdigo.
Reply
#3

Quote:

C:\Users\Rafael\Desktop\samp server\Pawno\include\dutils.inc(134) : warning 219: local variable "i" shadows a variable at a preceding level
C:\Users\Rafael\Desktop\samp server\Pawno\include\dutils.inc(135) : warning 219: local variable "cur" shadows a variable at a preceding level
C:\Users\Rafael\Desktop\samp server\Pawno\include\dutils.inc(136) : warning 219: local variable "res" shadows a variable at a preceding level
C:\Users\Rafael\Desktop\samp server\Pawno\include\dutils.inc(299) : warning 219: local variable "i" shadows a variable at a preceding level
C:\Users\Rafael\Desktop\samp server\Pawno\include\dutils.inc(356) : warning 219: local variable "i" shadows a variable at a preceding level
C:\Users\Rafael\Desktop\samp server\Pawno\include\dutils.inc(465) : warning 219: local variable "i" shadows a variable at a preceding level
C:\Users\Rafael\Desktop\samp server\gm\gamemodes\crp.pwn(1300) : warning 217: loose indentation
C:\Users\Rafael\Desktop\samp server\gm\gamemodes\crp.pwn(1944) : warning 219: local variable "i" shadows a variable at a preceding level
C:\Users\Rafael\Desktop\samp server\gm\gamemodes\crp.pwn(5054) : warning 219: local variable "i" shadows a variable at a preceding level
C:\Users\Rafael\Desktop\samp server\gm\gamemodes\crp.pwn(5074) : warning 219: local variable "i" shadows a variable at a preceding level
C:\Users\Rafael\Desktop\samp server\gm\gamemodes\crp.pwn(5132) : warning 219: local variable "i" shadows a variable at a preceding level
C:\Users\Rafael\Desktop\samp server\gm\gamemodes\crp.pwn(5370) : warning 219: local variable "i" shadows a variable at a preceding level
C:\Users\Rafael\Desktop\samp server\gm\gamemodes\crp.pwn(5544) : warning 219: local variable "i" shadows a variable at a preceding level
C:\Users\Rafael\Desktop\samp server\gm\gamemodes\crp.pwn(706 : warning 219: local variable "i" shadows a variable at a preceding level
C:\Users\Rafael\Desktop\samp server\gm\gamemodes\crp.pwn(7380) : error 047: array sizes do not match, or destination array is too small
C:\Users\Rafael\Desktop\samp server\gm\gamemodes\crp.pwn(7439) : error 047: array sizes do not match, or destination array is too small
C:\Users\Rafael\Desktop\samp server\gm\gamemodes\crp.pwn(9614) : warning 219: local variable "i" shadows a variable at a preceding level
C:\Users\Rafael\Desktop\samp server\gm\gamemodes\crp.pwn(9705) : warning 219: local variable "i" shadows a variable at a preceding level
C:\Users\Rafael\Desktop\samp server\gm\gamemodes\crp.pwn(9839) : warning 219: local variable "i" shadows a variable at a preceding level
C:\Users\Rafael\Desktop\samp server\gm\gamemodes\crp.pwn(10030) : warning 219: local variable "i" shadows a variable at a preceding level
C:\Users\Rafael\Desktop\samp server\gm\gamemodes\crp.pwn(10076) : warning 219: local variable "i" shadows a variable at a preceding level
C:\Users\Rafael\Desktop\samp server\gm\gamemodes\crp.pwn(10087) : error 047: array sizes do not match, or destination array is too small
C:\Users\Rafael\Desktop\samp server\gm\gamemodes\crp.pwn(10204) : warning 219: local variable "i" shadows a variable at a preceding level
C:\Users\Rafael\Desktop\samp server\gm\gamemodes\crp.pwn(10215) : error 047: array sizes do not match, or destination array is too small
C:\Users\Rafael\Desktop\samp server\gm\gamemodes\crp.pwn(10447) : warning 219: local variable "i" shadows a variable at a preceding level
C:\Users\Rafael\Desktop\samp server\gm\gamemodes\crp.pwn(10483) : warning 219: local variable "i" shadows a variable at a preceding level
C:\Users\Rafael\Desktop\samp server\gm\gamemodes\crp.pwn(10519) : warning 219: local variable "i" shadows a variable at a preceding level
C:\Users\Rafael\Desktop\samp server\gm\gamemodes\crp.pwn(1052 : error 047: array sizes do not match, or destination array is too small
C:\Users\Rafael\Desktop\samp server\gm\gamemodes\crp.pwn(10702) : warning 219: local variable "i" shadows a variable at a preceding level
C:\Users\Rafael\Desktop\samp server\gm\gamemodes\crp.pwn(11050) : warning 219: local variable "i" shadows a variable at a preceding level
C:\Users\Rafael\Desktop\samp server\gm\gamemodes\crp.pwn(11087) : warning 219: local variable "i" shadows a variable at a preceding level
C:\Users\Rafael\Desktop\samp server\gm\gamemodes\crp.pwn(11889) : warning 217: loose indentation
C:\Users\Rafael\Desktop\samp server\gm\gamemodes\crp.pwn(11934) : warning 217: loose indentation
C:\Users\Rafael\Desktop\samp server\gm\gamemodes\crp.pwn(12462) : warning 219: local variable "i" shadows a variable at a preceding level
C:\Users\Rafael\Desktop\samp server\gm\gamemodes\crp.pwn(12527) : warning 219: local variable "i" shadows a variable at a preceding level
C:\Users\Rafael\Desktop\samp server\gm\gamemodes\crp.pwn(12582) : warning 219: local variable "i" shadows a variable at a preceding level
C:\Users\Rafael\Desktop\samp server\gm\gamemodes\crp.pwn(13033) : warning 219: local variable "i" shadows a variable at a preceding level
C:\Users\Rafael\Desktop\samp server\gm\gamemodes\crp.pwn(13153) : warning 219: local variable "i" shadows a variable at a preceding level
C:\Users\Rafael\Desktop\samp server\gm\gamemodes\crp.pwn(13173) : warning 219: local variable "i" shadows a variable at a preceding level
C:\Users\Rafael\Desktop\samp server\gm\gamemodes\crp.pwn(13201) : warning 219: local variable "i" shadows a variable at a preceding level
C:\Users\Rafael\Desktop\samp server\gm\gamemodes\crp.pwn(13252) : warning 219: local variable "i" shadows a variable at a preceding level
C:\Users\Rafael\Desktop\samp server\gm\gamemodes\crp.pwn(13272) : warning 219: local variable "i" shadows a variable at a preceding level
C:\Users\Rafael\Desktop\samp server\gm\gamemodes\crp.pwn(13292) : warning 219: local variable "i" shadows a variable at a preceding level
C:\Users\Rafael\Desktop\samp server\gm\gamemodes\crp.pwn(13581) : warning 219: local variable "i" shadows a variable at a preceding level
C:\Users\Rafael\Desktop\samp server\gm\gamemodes\crp.pwn(13597) : warning 219: local variable "i" shadows a variable at a preceding level
C:\Users\Rafael\Desktop\samp server\gm\gamemodes\crp.pwn(13662) : warning 219: local variable "i" shadows a variable at a preceding level
C:\Users\Rafael\Desktop\samp server\gm\gamemodes\crp.pwn(13681) : warning 219: local variable "i" shadows a variable at a preceding level
C:\Users\Rafael\Desktop\samp server\gm\gamemodes\crp.pwn(13706) : warning 219: local variable "i" shadows a variable at a preceding level
C:\Users\Rafael\Desktop\samp server\gm\gamemodes\crp.pwn(14260) : warning 219: local variable "i" shadows a variable at a preceding level
C:\Users\Rafael\Desktop\samp server\gm\gamemodes\crp.pwn(14316) : error 025: function heading differs from prototype
C:\Users\Rafael\Desktop\samp server\gm\gamemodes\crp.pwn(1431 : error 021: symbol already defined: "strtok"
C:\Users\Rafael\Desktop\samp server\gm\gamemodes\crp.pwn(1431 : error 003: declaration of a local variable must appear in a compound block
C:\Users\Rafael\Desktop\samp server\gm\gamemodes\crp.pwn(14316) : error 010: invalid function or declaration
C:\Users\Rafael\Desktop\samp server\gm\gamemodes\crp.pwn(14316 -- 14319) : fatal error 107: too many error messages on one line

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


10 Errors.

E apaguei !

Agora aparece isso ae
Reply
#4

Vocк nгo apagou somente as definiзхes "strtok" e "HexToInt", vocк deve ter apagado alguma coisa junto com elas, da ctrl+z e apaga somente uma de cada dessas essas funзхes. Elas estгo definidas 2 vezes, elas sу podem ser definidas uma!

Outra: Manda as linhas que estгo com erro.
Reply
#5

Mando as linhas que estгo dando erro ?
Reply
#6

Sim.
Reply
#7

Quote:
1300 - if(fexist("CRP_Scriptfiles/Other/JoinCounter.cfg"))

7380 - x_info = strtok(cmdtext, idx);

7439 - x_info = strtok(cmdtext, idx);

10087 - x_info = strtok(cmdtext, idx);

10215 - x_info = strtok(cmdtext, idx);

10528 - x_info = strtok(cmdtext, idx);

11889 - if(strcmp(cmd, "/gmduty", true) == 0)

11934 - if(strcmp(cmd, "/adminduty", true) == 0)

14316 - strtok(string[],&idx,seperator = ' ')

14317 - {

14327 - return ret;

16374 - stock HexToInt(string[]) {

O que esta a negrito й o numero das linhas.
Reply
#8

Quote:
Originally Posted by kNOWW
Посмотреть сообщение
O que esta a negrito й o numero das linhas.
Nгo adianta voce mandar somente as linhas dos erros que nгo vai ter como resolver, manda a linha do code todo que tб gerando warnings/errors.
Reply
#9

DreeH eu adicionei vc no msn , vai la
Reply
#10

Quote:
Originally Posted by kNOWW
Посмотреть сообщение
DreeH eu adicionei vc no msn , vai la
Meu msn tб com problema, ele nгo adiciona e nem recebe convite, diz que tб lotado.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)