SA-MP Forums Archive
[Ajuda] Erros no Gamemode - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: [Ajuda] Erros no Gamemode (/showthread.php?tid=573232)



[Ajuda] Erros no Gamemode - 123gelado123 - 05.05.2015

Код HTML:
C:\Users\-c\Desktop\Servidor\pawno\include\Lekinhu_BNA_Info.inc(276) : error 004: function "GMInit" is not implemented
C:\Users\-c\Desktop\Servidor\pawno\include\Lekinhu_BNA_Info.inc(282) : error 004: function "GMExit" is not implemented
C:\Users\-c\Desktop\Servidor\pawno\include\Lekinhu_BNA_Info.inc(313) : error 004: function "OnPlayerHaveExtraCash" is not implemented
C:\Users\-c\Desktop\gamemodes\CKB.pwn(3530) : error 017: undefined symbol "ResetPlayerWeaponsEx"
C:\Users\-c\Desktop\gamemodes\CKB.pwn(3533) : error 079: inconsistent return types (array & non-array)
C:\Users\-c\Desktop\gamemodes\CKB.pwn(3546) : error 004: function "OnPlayerCommandText" is not implemented
C:\Users\-c\Desktop\gamemodes\CKB.pwn(3547) : error 079: inconsistent return types (array & non-array)
C:\Users\-c\Desktop\gamemodes\CKB.pwn(3551) : error 004: function "OnPlayerCommandText" is not implemented
C:\Users\-c\Desktop\gamemodes\CKB.pwn(3552) : error 079: inconsistent return types (array & non-array)
C:\Users\-c\Desktop\gamemodes\CKB.pwn(3557) : error 079: inconsistent return types (array & non-array)
C:\Users\-c\Desktop\gamemodes\CKB.pwn(3559) : error 079: inconsistent return types (array & non-array)
C:\Users\-c\Desktop\gamemodes\CKB.pwn(3570) : error 004: function "OnPlayerCommandText" is not implemented
C:\Users\-c\Desktop\gamemodes\CKB.pwn(3573) : error 079: inconsistent return types (array & non-array)
C:\Users\-c\Desktop\gamemodes\CKB.pwn(3579) : error 004: function "OnPlayerText" is not implemented
C:\Users\-c\Desktop\gamemodes\CKB.pwn(3584) : error 004: function "OnPlayerText" is not implemented
C:\Users\-c\Desktop\gamemodes\CKB.pwn(3586) : error 079: inconsistent return types (array & non-array)
C:\Users\-c\Desktop\gamemodes\CKB.pwn(3593) : error 079: inconsistent return types (array & non-array)
C:\Users\-c\Desktop\gamemodes\CKB.pwn(3602) : error 004: function "OnPlayerCommandText" is not implemented
C:\Users\-c\Desktop\gamemodes\CKB.pwn(3606) : error 004: function "OnPlayerCommandText" is not implemented
C:\Users\-c\Desktop\gamemodes\CKB.pwn(3610) : error 004: function "OnPlayerCommandText" is not implemented
C:\Users\-c\Desktop\gamemodes\CKB.pwn(3614) : error 004: function "OnPlayerCommandText" is not implemented
C:\Users\-c\Desktop\gamemodes\CKB.pwn(3618) : error 004: function "OnPlayerCommandText" is not implemented
C:\Users\-c\Desktop\gamemodes\CKB.pwn(3622) : error 004: function "OnPlayerCommandText" is not implemented
C:\Users\-c\Desktop\gamemodes\CKB.pwn(3626) : error 004: function "OnPlayerCommandText" is not implemented
C:\Users\-c\Desktop\gamemodes\CKB.pwn(3630) : error 004: function "OnPlayerCommandText" is not implemented
C:\Users\-c\Desktop\gamemodes\CKB.pwn(3634) : error 004: function "OnPlayerCommandText" is not implemented

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


26 Errors.
Erro 276,282,313 > http://pastebin.com/TRMbNJW3# <
O restantes dos erros > http://pastebin.com/2QUrUKNf <

nela os erros estгo com os cуdigos completos, aqui vou postar linha por linha de cada erro.

Код HTML:
276 >>>>>>>>>>> {497},{498},{501},{508},{509},
Код HTML:
282 >>>>>>>>>>> {572},{573},{574},{577},{578},
Код HTML:
313 >>>>>>>>>>>>forward AtualizarGP();
Код HTML:
3530 >>>>>>>>>>>ResetPlayerWeaponsEx(playerid);
Код HTML:
3533 >>>>>>>>>>>return 0;
Код HTML:
3546 >>>>>>>>>>>OnPlayerCommandText(playerid,"/farolon");
Код HTML:
3547 >>>>>>>>>>>return 1;
Код HTML:
3551 >>>>>>>>>>>OnPlayerCommandText(playerid,"/faroloff");
Код HTML:
3552 >>>>>>>>>>>return 1;[HTML]
[HTML]3557 >>>>>>>>>>>return 0;
Код HTML:
3559 >>>>>>>>>>>return 0;
[/HTML]3570 >>>>>>>>>>>OnPlayerCommandText(playerid,"/aceitar convite");[/HTML]
Код HTML:
3573 >>>>>>>>>>>return 1;
Код HTML:
3579 >>>>>>>>>>>OnPlayerText(playerid,"proximo");
Код HTML:
3584 >>>>>>>>>>>OnPlayerText(playerid,"Confirma")
Код HTML:
3586 >>>>>>>>>>>return 1;
Код HTML:
3593 >>>>>>>>>>>return 1;
Код HTML:
3602 >>>>>>>>>>>OnPlayerCommandText(playerid,"/an_2_input 56");
Код HTML:
3606 >>>>>>>>>>>OnPlayerCommandText(playerid,"/an_2_input 1");
Код HTML:
3610 >>>>>>>>>>>OnPlayerCommandText(playerid,"/an_2_input 111");
Код HTML:
3614 >>>>>>>>>>>OnPlayerCommandText(playerid,"/an_2_input 31");
Код HTML:
3618 >>>>>>>>>>>OnPlayerCommandText(playerid,"/an_2_input 112");
Код HTML:
3622 >>>>>>>>>>>OnPlayerCommandText(playerid,"/an_2_input 113");
Код HTML:
3626 >>>>>>>>>>>OnPlayerCommandText(playerid,"/an_2_input 114");
Код HTML:
3630 >>>>>>>>>>>OnPlayerCommandText(playerid,"/an_2_input 115");
Код HTML:
3634 >>>>>>>>>>>OnPlayerCommandText(playerid,"/an_2_input 116");



Re: [Ajuda] Erros no Gamemode - 123gelado123 - 05.05.2015

O Dia todo tentando arrumar conssegui deixar apenas com esses 4 erros nгo sei qual voces acham mais facil me ajudar...

Quote:

C:\Users\-c\Desktop\Servidor\pawno\include\dutils.inc(53) : warning 219: local variable "hour" shadows a variable at a preceding level
C:\Users\-c\Desktop\Servidor\pawno\include\dutils.inc(53) : warning 219: local variable "minute" shadows a variable at a preceding level
C:\Users\-c\Desktop\Servidor\pawno\include\dutils.inc(53) : warning 219: local variable "second" shadows a variable at a preceding level
C:\Users\-c\Desktop\Servidor\pawno\include\dutils.inc(53) : warning 219: local variable "day" shadows a variable at a preceding level
C:\Users\-c\Desktop\Servidor\pawno\include\dutils.inc(53) : warning 219: local variable "month" shadows a variable at a preceding level
C:\Users\-c\Desktop\Servidor\pawno\include\dutils.inc(53) : warning 219: local variable "year" shadows a variable at a preceding level
C:\Users\-c\Desktop\Arrumando jб.pwn(31386) : warning 219: local variable "mod" shadows a variable at a preceding level
C:\Users\-c\Desktop\Arrumando jб.pwn(68143) : warning 235: public function lacks forward declaration (symbol "OnPlayerHaveExtraCash")
C:\Users\-c\Desktop\Arrumando jб.pwn(70335) : error 021: symbol already defined: "GivePlayerMoney"
C:\Users\-c\Desktop\Arrumando jб.pwn(70336) : error 021: symbol already defined: "GetPlayerMoney"
C:\Users\-c\Desktop\Arrumando jб.pwn(70337) : error 021: symbol already defined: "ResetPlayerMoney"
C:\Users\-c\Desktop\Arrumando jб.pwn(70342) : error 033: array must be indexed (variable "string")
C:\Users\-c\Desktop\Arrumando jб.pwn(70356) : warning 203: symbol is never used: "ret_memcpy"
C:\Users\-c\Desktop\Arrumando jб.pwn(70356) : warning 203: symbol is never used: "strtok2"
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


4 Errors.




Re: [Ajuda] Erros no Gamemode - 123gelado123 - 05.05.2015

Estб assim agora...

Quote:

C:\Users\-c\Desktop\Arrumando jб.pwn(68143) : warning 235: public function lacks forward declaration (symbol "OnPlayerHaveExtraCash")
C:\Users\-c\Desktop\Arrumando jб.pwn(70335) : error 021: symbol already defined: "GivePlayerMoney"
C:\Users\-c\Desktop\Arrumando jб.pwn(70336) : error 021: symbol already defined: "GetPlayerMoney"
C:\Users\-c\Desktop\Arrumando jб.pwn(70337) : error 021: symbol already defined: "ResetPlayerMoney"
C:\Users\-c\Desktop\Arrumando jб.pwn(70342) : error 033: array must be indexed (variable "string")
C:\Users\-c\Desktop\Arrumando jб.pwn(70356) : warning 203: symbol is never used: "strtok2"
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


4 Errors.