[AJUDA] ERROS - 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 (
/showthread.php?tid=163956)
[AJUDA] ERROS -
podunga - 29.07.2010
oq pode ser esses erros?
Код:
C:\Users\use\Desktop\sb1.pwn(137) : warning 201: redefinition of constant/macro (symbol "MAX_PICKUPS")
C:\Users\use\Desktop\sb1.pwn(4196) : warning 219: local variable "PlayerName" shadows a variable at a preceding level
C:\Users\use\Desktop\sb1.pwn(4216) : warning 219: local variable "PlayerName" shadows a variable at a preceding level
C:\Users\use\Desktop\sb1.pwn(4331) : warning 235: public function lacks forward declaration (symbol "OnPlayerPrivmsg")
C:\Users\use\Desktop\sb1.pwn(4339) : warning 204: symbol is assigned a value that is never used: "string"
C:\Users\use\Desktop\sb1.pwn(4339 -- 4429) : warning 209: function "OnPlayerCommandText" should return a value
C:\Users\use\Desktop\sb1.pwn(4339 -- 4431) : error 010: invalid function or declaration
C:\Users\use\Desktop\sb1.pwn(4339 -- 4432) : error 010: invalid function or declaration
C:\Users\use\Desktop\sb1.pwn(4339 -- 4434) : error 010: invalid function or declaration
C:\Users\use\Desktop\sb1.pwn(4339 -- 4434) : fatal error 107: too many error messages on one line
Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
й desse gamemode :
http://samp.pastebin.com/uq4BMiHg
Re: [AJUDA] ERROS -
Mateus_Henrique - 29.07.2010
Posta as linhas Ae para eu Ver !!!!
Re: [AJUDA] ERROS -
zSuYaNw - 29.07.2010
Posta :4339,4196
Linha 137 й vocк redefinir MAX_PICKUP Pra + ou pra menos.
Re: [AJUDA] ERROS -
podunga - 29.07.2010
linha 4339 :
linha : 4196 :
Код:
new PlayerName[MAX_PLAYER_NAME];
o MAX_PICKUP tava 90 ai eu coloco um valor maior? eu coloquei e deu outro erro :
Код:
warning 201: redefinition of constant/macro (symbol "MAX_PICKUPS")
Re: [AJUDA] ERROS -
zSuYaNw - 29.07.2010
pawn Код:
forward OnPlayerPrivmsg(playerid, recieverid, text[]);
Linha :4339: new stringe[256];
e na 4196:
new PlayerNamee[MAX_PLAYER_NAME];
Re: [AJUDA] ERROS -
podunga - 29.07.2010
continua dando esse erros :
Код:
C:\Users\use\Desktop\sb1.pwn(137) : warning 201: redefinition of constant/macro (symbol "MAX_PICKUPS")
C:\Users\use\Desktop\sb1.pwn(4198) : error 076: syntax error in the expression, or invalid function call
C:\Users\use\Desktop\sb1.pwn(4198) : error 072: "sizeof" operator is invalid on "function" symbols
C:\Users\use\Desktop\sb1.pwn(4199) : error 076: syntax error in the expression, or invalid function call
C:\Users\use\Desktop\sb1.pwn(4196) : warning 204: symbol is assigned a value that is never used: "PlayerNamee"
C:\Users\use\Desktop\sb1.pwn(4216) : warning 219: local variable "PlayerName" shadows a variable at a preceding level
C:\Users\use\Desktop\sb1.pwn(4339) : warning 204: symbol is assigned a value that is never used: "stringe"
C:\Users\use\Desktop\sb1.pwn(4339 -- 4429) : warning 209: function "OnPlayerCommandText" should return a value
C:\Users\use\Desktop\sb1.pwn(4339 -- 4431) : error 010: invalid function or declaration
C:\Users\use\Desktop\sb1.pwn(4339 -- 4432) : error 010: invalid function or declaration
C:\Users\use\Desktop\sb1.pwn(4339 -- 4434) : error 010: invalid function or declaration
C:\Users\use\Desktop\sb1.pwn(4339 -- 4434) : fatal error 107: too many error messages on one line
Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
7 Errors.
linha 4198 :
Код:
GetPlayerName(playerid, PlayerName,sizeof(PlayerName));
format(string, sizeof(string), "%s entrou no servidor.", PlayerName)
4199 :
Код:
GetPlayerName(playerid, PlayerName,sizeof(PlayerName));
format(string, sizeof(string), "%s entrou no servidor.", PlayerName)
4196 :
Код:
new PlayerName[MAX_PLAYER_NAME];
4216 :
Код:
new PlayerName[MAX_PLAYER_NAME];
Re: [AJUDA] ERROS -
zSuYaNw - 29.07.2010
Bote " ; " ( SEM ASPAS ) no Final 4199.
Re: [AJUDA] ERROS -
podunga - 29.07.2010
Vlw erro da 4199 resolvido, agora continua esses :
Код:
C:\Users\use\Desktop\sb1.pwn(137) : warning 201: redefinition of constant/macro (symbol "MAX_PICKUPS")
C:\Users\use\Desktop\sb1.pwn(4196) : warning 219: local variable "PlayerName" shadows a variable at a preceding level
C:\Users\use\Desktop\sb1.pwn(4216) : warning 219: local variable "PlayerName" shadows a variable at a preceding level
C:\Users\use\Desktop\sb1.pwn(4339) : warning 204: symbol is assigned a value that is never used: "stringe"
C:\Users\use\Desktop\sb1.pwn(4339 -- 4429) : warning 209: function "OnPlayerCommandText" should return a value
C:\Users\use\Desktop\sb1.pwn(4339 -- 4431) : error 010: invalid function or declaration
C:\Users\use\Desktop\sb1.pwn(4339 -- 4432) : error 010: invalid function or declaration
C:\Users\use\Desktop\sb1.pwn(4339 -- 4434) : error 010: invalid function or declaration
C:\Users\use\Desktop\sb1.pwn(4339 -- 4434) : fatal error 107: too many error messages on one line
Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
4 Errors.