[Ajuda] Ao Compilar GM!
#1

Me ajudem sou novo nesse negуcio de Pwn...

Como resolver isso ?

Код:
C:\Users\Casa Rodrigues\Desktop\files_20121204114001\pawno\include\OPSP.inc(95) : warning 219: local variable "health" shadows a variable at a preceding level
C:\Users\Casa Rodrigues\Desktop\files_20121204114001\pawno\include\seif_walk.inc(39) : error 004: function "Walk_OnPlayerKeyStateChange" is not implemented
C:\Users\Casa Rodrigues\Desktop\files_20121204114001\pawno\include\seif_walk.inc(44) : warning 201: redefinition of constant/macro (symbol "OnPlayerKeyStateChange")
C:\Users\Casa Rodrigues\Desktop\files_20121204114001\gamemodes\BNL.pwn(2219) : warning 202: number of arguments does not match definition
C:\Users\Casa Rodrigues\Desktop\files_20121204114001\gamemodes\BNL.pwn(2528) : warning 219: local variable "health" shadows a variable at a preceding level
C:\Users\Casa Rodrigues\Desktop\files_20121204114001\gamemodes\BNL.pwn(3470) : warning 202: number of arguments does not match definition
C:\Users\Casa Rodrigues\Desktop\files_20121204114001\gamemodes\BNL.pwn(5390) : warning 202: number of arguments does not match definition
C:\Users\Casa Rodrigues\Desktop\files_20121204114001\gamemodes\BNL.pwn(5482) : warning 202: number of arguments does not match definition
C:\Users\Casa Rodrigues\Desktop\files_20121204114001\gamemodes\BNL.pwn(5510) : warning 202: number of arguments does not match definition
C:\Users\Casa Rodrigues\Desktop\files_20121204114001\gamemodes\BNL.pwn(5972) : warning 202: number of arguments does not match definition
C:\Users\Casa Rodrigues\Desktop\files_20121204114001\gamemodes\BNL.pwn(6040) : warning 219: local variable "health" shadows a variable at a preceding level
C:\Users\Casa Rodrigues\Desktop\files_20121204114001\gamemodes\BNL.pwn(6603) : warning 202: number of arguments does not match definition
C:\Users\Casa Rodrigues\Desktop\files_20121204114001\gamemodes\BNL.pwn(7096) : warning 202: number of arguments does not match definition
C:\Users\Casa Rodrigues\Desktop\files_20121204114001\gamemodes\BNL.pwn(7833) : warning 219: local variable "health" shadows a variable at a preceding level
C:\Users\Casa Rodrigues\Desktop\files_20121204114001\gamemodes\BNL.pwn(7911) : warning 202: number of arguments does not match definition
C:\Users\Casa Rodrigues\Desktop\files_20121204114001\gamemodes\BNL.pwn(8368) : warning 219: local variable "health" shadows a variable at a preceding level
C:\Users\Casa Rodrigues\Desktop\files_20121204114001\gamemodes\BNL.pwn(10609) : warning 202: number of arguments does not match definition
C:\Users\Casa Rodrigues\Desktop\files_20121204114001\gamemodes\BNL.pwn(10677) : warning 202: number of arguments does not match definition
C:\Users\Casa Rodrigues\Desktop\files_20121204114001\gamemodes\BNL.pwn(10683) : warning 202: number of arguments does not match definition
C:\Users\Casa Rodrigues\Desktop\files_20121204114001\gamemodes\BNL.pwn(10689) : warning 202: number of arguments does not match definition
C:\Users\Casa Rodrigues\Desktop\files_20121204114001\gamemodes\BNL.pwn(10695) : warning 202: number of arguments does not match definition
C:\Users\Casa Rodrigues\Desktop\files_20121204114001\gamemodes\BNL.pwn(10701) : warning 202: number of arguments does not match definition
C:\Users\Casa Rodrigues\Desktop\files_20121204114001\gamemodes\BNL.pwn(10707) : warning 202: number of arguments does not match definition
C:\Users\Casa Rodrigues\Desktop\files_20121204114001\gamemodes\BNL.pwn(10716) : warning 202: number of arguments does not match definition
C:\Users\Casa Rodrigues\Desktop\files_20121204114001\gamemodes\BNL.pwn(10722) : warning 202: number of arguments does not match definition
C:\Users\Casa Rodrigues\Desktop\files_20121204114001\gamemodes\BNL.pwn(10728) : warning 202: number of arguments does not match definition
C:\Users\Casa Rodrigues\Desktop\files_20121204114001\gamemodes\BNL.pwn(10734) : warning 202: number of arguments does not match definition
C:\Users\Casa Rodrigues\Desktop\files_20121204114001\gamemodes\BNL.pwn(10740) : warning 202: number of arguments does not match definition
C:\Users\Casa Rodrigues\Desktop\files_20121204114001\gamemodes\BNL.pwn(10746) : warning 202: number of arguments does not match definition
C:\Users\Casa Rodrigues\Desktop\files_20121204114001\gamemodes\BNL.pwn(10755) : warning 202: number of arguments does not match definition
C:\Users\Casa Rodrigues\Desktop\files_20121204114001\gamemodes\BNL.pwn(10761) : warning 202: number of arguments does not match definition
C:\Users\Casa Rodrigues\Desktop\files_20121204114001\gamemodes\BNL.pwn(10767) : warning 202: number of arguments does not match definition
C:\Users\Casa Rodrigues\Desktop\files_20121204114001\gamemodes\BNL.pwn(10773) : warning 202: number of arguments does not match definition
C:\Users\Casa Rodrigues\Desktop\files_20121204114001\gamemodes\BNL.pwn(10779) : warning 202: number of arguments does not match definition
C:\Users\Casa Rodrigues\Desktop\files_20121204114001\gamemodes\BNL.pwn(10785) : warning 202: number of arguments does not match definition
C:\Users\Casa Rodrigues\Desktop\files_20121204114001\gamemodes\BNL.pwn(10794) : warning 202: number of arguments does not match definition
C:\Users\Casa Rodrigues\Desktop\files_20121204114001\gamemodes\BNL.pwn(10800) : warning 202: number of arguments does not match definition
C:\Users\Casa Rodrigues\Desktop\files_20121204114001\gamemodes\BNL.pwn(10806) : warning 202: number of arguments does not match definition
C:\Users\Casa Rodrigues\Desktop\files_20121204114001\gamemodes\BNL.pwn(10812) : warning 202: number of arguments does not match definition
C:\Users\Casa Rodrigues\Desktop\files_20121204114001\gamemodes\BNL.pwn(10818) : warning 202: number of arguments does not match definition
C:\Users\Casa Rodrigues\Desktop\files_20121204114001\gamemodes\BNL.pwn(10824) : warning 202: number of arguments does not match definition
C:\Users\Casa Rodrigues\Desktop\files_20121204114001\gamemodes\BNL.pwn(10833) : warning 202: number of arguments does not match definition
C:\Users\Casa Rodrigues\Desktop\files_20121204114001\gamemodes\BNL.pwn(10839) : warning 202: number of arguments does not match definition
C:\Users\Casa Rodrigues\Desktop\files_20121204114001\gamemodes\BNL.pwn(10845) : warning 202: number of arguments does not match definition
C:\Users\Casa Rodrigues\Desktop\files_20121204114001\gamemodes\BNL.pwn(10851) : warning 202: number of arguments does not match definition
C:\Users\Casa Rodrigues\Desktop\files_20121204114001\gamemodes\BNL.pwn(10857) : warning 202: number of arguments does not match definition
C:\Users\Casa Rodrigues\Desktop\files_20121204114001\gamemodes\BNL.pwn(10863) : warning 202: number of arguments does not match definition
C:\Users\Casa Rodrigues\Desktop\files_20121204114001\gamemodes\BNL.pwn(11372) : warning 202: number of arguments does not match definition
C:\Users\Casa Rodrigues\Desktop\files_20121204114001\gamemodes\BNL.pwn(11980) : warning 219: local variable "health" shadows a variable at a preceding level
C:\Users\Casa Rodrigues\Desktop\files_20121204114001\gamemodes\BNL.pwn(11987) : warning 202: number of arguments does not match definition
C:\Users\Casa Rodrigues\Desktop\files_20121204114001\gamemodes\BNL.pwn(12007) : warning 202: number of arguments does not match definition
C:\Users\Casa Rodrigues\Desktop\files_20121204114001\gamemodes\BNL.pwn(12027) : warning 202: number of arguments does not match definition
C:\Users\Casa Rodrigues\Desktop\files_20121204114001\gamemodes\BNL.pwn(12047) : warning 202: number of arguments does not match definition
C:\Users\Casa Rodrigues\Desktop\files_20121204114001\gamemodes\BNL.pwn(12068) : warning 202: number of arguments does not match definition
C:\Users\Casa Rodrigues\Desktop\files_20121204114001\gamemodes\BNL.pwn(12089) : warning 202: number of arguments does not match definition
C:\Users\Casa Rodrigues\Desktop\files_20121204114001\gamemodes\BNL.pwn(12110) : warning 202: number of arguments does not match definition
C:\Users\Casa Rodrigues\Desktop\files_20121204114001\gamemodes\BNL.pwn(12131) : warning 202: number of arguments does not match definition
C:\Users\Casa Rodrigues\Desktop\files_20121204114001\gamemodes\BNL.pwn(12505) : warning 202: number of arguments does not match definition
C:\Users\Casa Rodrigues\Desktop\files_20121204114001\gamemodes\BNL.pwn(12567) : warning 202: number of arguments does not match definition
C:\Users\Casa Rodrigues\Desktop\files_20121204114001\gamemodes\BNL.pwn(13429) : warning 202: number of arguments does not match definition
C:\Users\Casa Rodrigues\Desktop\files_20121204114001\gamemodes\BNL.pwn(13437) : warning 202: number of arguments does not match definition
C:\Users\Casa Rodrigues\Desktop\files_20121204114001\gamemodes\BNL.pwn(13445) : warning 202: number of arguments does not match definition
C:\Users\Casa Rodrigues\Desktop\files_20121204114001\gamemodes\BNL.pwn(13453) : warning 202: number of arguments does not match definition
C:\Users\Casa Rodrigues\Desktop\files_20121204114001\gamemodes\BNL.pwn(13461) : warning 202: number of arguments does not match definition
C:\Users\Casa Rodrigues\Desktop\files_20121204114001\gamemodes\BNL.pwn(13469) : warning 202: number of arguments does not match definition
C:\Users\Casa Rodrigues\Desktop\files_20121204114001\gamemodes\BNL.pwn(13487) : warning 202: number of arguments does not match definition
C:\Users\Casa Rodrigues\Desktop\files_20121204114001\gamemodes\BNL.pwn(13499) : warning 202: number of arguments does not match definition
C:\Users\Casa Rodrigues\Desktop\files_20121204114001\gamemodes\BNL.pwn(13507) : warning 202: number of arguments does not match definition
C:\Users\Casa Rodrigues\Desktop\files_20121204114001\gamemodes\BNL.pwn(13526) : warning 202: number of arguments does not match definition
C:\Users\Casa Rodrigues\Desktop\files_20121204114001\gamemodes\BNL.pwn(13537) : warning 202: number of arguments does not match definition
C:\Users\Casa Rodrigues\Desktop\files_20121204114001\gamemodes\BNL.pwn(13577) : warning 202: number of arguments does not match definition
C:\Users\Casa Rodrigues\Desktop\files_20121204114001\gamemodes\BNL.pwn(13590) : warning 202: number of arguments does not match definition
C:\Users\Casa Rodrigues\Desktop\files_20121204114001\gamemodes\BNL.pwn(13606) : warning 202: number of arguments does not match definition
C:\Users\Casa Rodrigues\Desktop\files_20121204114001\gamemodes\BNL.pwn(13635) : warning 202: number of arguments does not match definition
C:\Users\Casa Rodrigues\Desktop\files_20121204114001\gamemodes\BNL.pwn(13649) : warning 202: number of arguments does not match definition
C:\Users\Casa Rodrigues\Desktop\files_20121204114001\gamemodes\BNL.pwn(13656) : warning 202: number of arguments does not match definition
C:\Users\Casa Rodrigues\Desktop\files_20121204114001\gamemodes\BNL.pwn(13667) : warning 202: number of arguments does not match definition
C:\Users\Casa Rodrigues\Desktop\files_20121204114001\gamemodes\BNL.pwn(13678) : warning 202: number of arguments does not match definition
C:\Users\Casa Rodrigues\Desktop\files_20121204114001\gamemodes\BNL.pwn(13689) : warning 202: number of arguments does not match definition
C:\Users\Casa Rodrigues\Desktop\files_20121204114001\gamemodes\BNL.pwn(13700) : warning 202: number of arguments does not match definition
C:\Users\Casa Rodrigues\Desktop\files_20121204114001\gamemodes\BNL.pwn(13711) : warning 202: number of arguments does not match definition
C:\Users\Casa Rodrigues\Desktop\files_20121204114001\gamemodes\BNL.pwn(13717) : warning 202: number of arguments does not match definition
C:\Users\Casa Rodrigues\Desktop\files_20121204114001\gamemodes\BNL.pwn(13775) : warning 202: number of arguments does not match definition
C:\Users\Casa Rodrigues\Desktop\files_20121204114001\gamemodes\BNL.pwn(13998) : warning 202: number of arguments does not match definition
C:\Users\Casa Rodrigues\Desktop\files_20121204114001\gamemodes\BNL.pwn(14244) : warning 219: local variable "playermoney" shadows a variable at a preceding level
C:\Users\Casa Rodrigues\Desktop\files_20121204114001\gamemodes\BNL.pwn(14252) : error 033: array must be indexed (variable "cmd")
C:\Users\Casa Rodrigues\Desktop\files_20121204114001\gamemodes\BNL.pwn(14261) : error 017: undefined symbol "strtok"
C:\Users\Casa Rodrigues\Desktop\files_20121204114001\gamemodes\BNL.pwn(14261) : error 033: array must be indexed (variable "HQ")
C:\Users\Casa Rodrigues\Desktop\files_20121204114001\gamemodes\BNL.pwn(14300) : error 017: undefined symbol "HQHQ"
C:\Users\Casa Rodrigues\Desktop\files_20121204114001\gamemodes\BNL.pwn(14306) : error 017: undefined symbol "x_HQ"
C:\Users\Casa Rodrigues\Desktop\files_20121204114001\gamemodes\BNL.pwn(14330) : error 017: undefined symbol "HQHQ"
C:\Users\Casa Rodrigues\Desktop\files_20121204114001\gamemodes\BNL.pwn(14461) : error 017: undefined symbol "strtok"
C:\Users\Casa Rodrigues\Desktop\files_20121204114001\gamemodes\BNL.pwn(14461) : error 033: array must be indexed (variable "tmp")
C:\Users\Casa Rodrigues\Desktop\files_20121204114001\gamemodes\BNL.pwn(14815) : error 017: undefined symbol "strtok"
C:\Users\Casa Rodrigues\Desktop\files_20121204114001\gamemodes\BNL.pwn(14815) : error 033: array must be indexed (variable "tmp")
C:\Users\Casa Rodrigues\Desktop\files_20121204114001\gamemodes\BNL.pwn(15003) : warning 202: number of arguments does not match definition
C:\Users\Casa Rodrigues\Desktop\files_20121204114001\gamemodes\BNL.pwn(15055) : error 017: undefined symbol "strtok"
C:\Users\Casa Rodrigues\Desktop\files_20121204114001\gamemodes\BNL.pwn(15055) : error 033: array must be indexed (variable "x_nr")
C:\Users\Casa Rodrigues\Desktop\files_20121204114001\gamemodes\BNL.pwn(15140) : error 017: undefined symbol "strtok"
C:\Users\Casa Rodrigues\Desktop\files_20121204114001\gamemodes\BNL.pwn(15140) : error 033: array must be indexed (variable "tmp")
C:\Users\Casa Rodrigues\Desktop\files_20121204114001\gamemodes\BNL.pwn(15267) : error 017: undefined symbol "strtok"
C:\Users\Casa Rodrigues\Desktop\files_20121204114001\gamemodes\BNL.pwn(15267) : error 033: array must be indexed (variable "tmp")
C:\Users\Casa Rodrigues\Desktop\files_20121204114001\gamemodes\BNL.pwn(15287) : error 017: undefined symbol "strtok"
C:\Users\Casa Rodrigues\Desktop\files_20121204114001\gamemodes\BNL.pwn(15287) : error 033: array must be indexed (variable "tmp")
C:\Users\Casa Rodrigues\Desktop\files_20121204114001\gamemodes\BNL.pwn(15316) : error 017: undefined symbol "strtok"
C:\Users\Casa Rodrigues\Desktop\files_20121204114001\gamemodes\BNL.pwn(15316) : error 033: array must be indexed (variable "tmp")
C:\Users\Casa Rodrigues\Desktop\files_20121204114001\gamemodes\BNL.pwn(15344) : error 017: undefined symbol "strtok"
C:\Users\Casa Rodrigues\Desktop\files_20121204114001\gamemodes\BNL.pwn(15344) : error 033: array must be indexed (variable "tmp")
C:\Users\Casa Rodrigues\Desktop\files_20121204114001\gamemodes\BNL.pwn(15374) : error 017: undefined symbol "strtok"
C:\Users\Casa Rodrigues\Desktop\files_20121204114001\gamemodes\BNL.pwn(15374) : error 033: array must be indexed (variable "tmp")
C:\Users\Casa Rodrigues\Desktop\files_20121204114001\gamemodes\BNL.pwn(15396) : error 017: undefined symbol "strtok"

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


26 Errors.
Reply
#2

Nossa voce apagou ou mudou algo ?

Sugiro que estude pawn, entenda o que fazer para depois tentar editar GM.
pois os gm's que estгo na net 70 % deles й mal identado e bugado
Reply
#3

Acontece que esse GM й do Famoso Brasil New Life...

Sу tenho o .PWN e nгo tenho o .AMX e os outros arquivos, oque fazer ??

mechi nele denovo e ficou assim:

Код:
C:\Users\Casa Rodrigues\Desktop\files_20121204114001\pawno\include\seif_walk.inc(44) : warning 201: redefinition of constant/macro (symbol "OnPlayerKeyStateChange")
C:\Users\Casa Rodrigues\Desktop\files_20121204114001\gamemodes\BNL.pwn(8350) : warning 204: symbol is assigned a value that is never used: "wanted"
C:\Users\Casa Rodrigues\Desktop\files_20121204114001\gamemodes\BNL.pwn(14245) : warning 219: local variable "playermoney" shadows a variable at a preceding level
C:\Users\Casa Rodrigues\Desktop\files_20121204114001\gamemodes\BNL.pwn(14253) : error 017: undefined symbol "strtok"
C:\Users\Casa Rodrigues\Desktop\files_20121204114001\gamemodes\BNL.pwn(14253) : error 033: array must be indexed (variable "cmd")
C:\Users\Casa Rodrigues\Desktop\files_20121204114001\gamemodes\BNL.pwn(14262) : error 017: undefined symbol "strtok"
C:\Users\Casa Rodrigues\Desktop\files_20121204114001\gamemodes\BNL.pwn(14262) : error 033: array must be indexed (variable "x_HQ")
C:\Users\Casa Rodrigues\Desktop\files_20121204114001\gamemodes\BNL.pwn(14462) : error 017: undefined symbol "strtok"
C:\Users\Casa Rodrigues\Desktop\files_20121204114001\gamemodes\BNL.pwn(14462) : error 033: array must be indexed (variable "tmp")
C:\Users\Casa Rodrigues\Desktop\files_20121204114001\gamemodes\BNL.pwn(14816) : error 017: undefined symbol "strtok"
C:\Users\Casa Rodrigues\Desktop\files_20121204114001\gamemodes\BNL.pwn(14816) : error 033: array must be indexed (variable "tmp")
C:\Users\Casa Rodrigues\Desktop\files_20121204114001\gamemodes\BNL.pwn(15056) : error 017: undefined symbol "strtok"
C:\Users\Casa Rodrigues\Desktop\files_20121204114001\gamemodes\BNL.pwn(15056) : error 033: array must be indexed (variable "x_nr")
C:\Users\Casa Rodrigues\Desktop\files_20121204114001\gamemodes\BNL.pwn(15141) : error 017: undefined symbol "strtok"
C:\Users\Casa Rodrigues\Desktop\files_20121204114001\gamemodes\BNL.pwn(15141) : error 033: array must be indexed (variable "tmp")
C:\Users\Casa Rodrigues\Desktop\files_20121204114001\gamemodes\BNL.pwn(15268) : error 017: undefined symbol "strtok"
C:\Users\Casa Rodrigues\Desktop\files_20121204114001\gamemodes\BNL.pwn(15268) : error 033: array must be indexed (variable "tmp")
C:\Users\Casa Rodrigues\Desktop\files_20121204114001\gamemodes\BNL.pwn(15288) : error 017: undefined symbol "strtok"
C:\Users\Casa Rodrigues\Desktop\files_20121204114001\gamemodes\BNL.pwn(15288) : error 033: array must be indexed (variable "tmp")
C:\Users\Casa Rodrigues\Desktop\files_20121204114001\gamemodes\BNL.pwn(15317) : error 017: undefined symbol "strtok"
C:\Users\Casa Rodrigues\Desktop\files_20121204114001\gamemodes\BNL.pwn(15317) : error 033: array must be indexed (variable "tmp")
C:\Users\Casa Rodrigues\Desktop\files_20121204114001\gamemodes\BNL.pwn(15345) : error 017: undefined symbol "strtok"
C:\Users\Casa Rodrigues\Desktop\files_20121204114001\gamemodes\BNL.pwn(15345) : error 033: array must be indexed (variable "tmp")
C:\Users\Casa Rodrigues\Desktop\files_20121204114001\gamemodes\BNL.pwn(15375) : error 017: undefined symbol "strtok"
C:\Users\Casa Rodrigues\Desktop\files_20121204114001\gamemodes\BNL.pwn(15375) : error 033: array must be indexed (variable "tmp")
C:\Users\Casa Rodrigues\Desktop\files_20121204114001\gamemodes\BNL.pwn(15397) : error 017: undefined symbol "strtok"
C:\Users\Casa Rodrigues\Desktop\files_20121204114001\gamemodes\BNL.pwn(15397) : error 033: array must be indexed (variable "tmp")
C:\Users\Casa Rodrigues\Desktop\files_20121204114001\gamemodes\BNL.pwn(15421) : error 017: undefined symbol "strtok"
C:\Users\Casa Rodrigues\Desktop\files_20121204114001\gamemodes\BNL.pwn(15421) : error 033: array must be indexed (variable "tmp")

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


26 Errors.
Reply
#4

Coloca isso no final do gm e poste as linhas que continuar os erros

Код:
strtok(const string[], &index)
{
    new length = strlen(string);
    while ((index < length) && (string[index] <= ' '))
    {
        index++;
    }
 
    new offset = index;
    new result[20];
    while ((index < length) && (string[index] > ' ') && ((index - offset) < (sizeof(result) - 1)))
    {
        result[index - offset] = string[index];
        index++;
    }
    result[index - offset] = EOS;
    return result;
}
Reply
#5

Shoooooooow!
Agora ficou assim

Код:
C:\Users\Casa Rodrigues\Desktop\files_20121204114001\pawno\include\seif_walk.inc(44) : warning 201: redefinition of constant/macro (symbol "OnPlayerKeyStateChange")
C:\Users\Casa Rodrigues\Desktop\files_20121204114001\gamemodes\BNL.pwn(8347) : warning 204: symbol is assigned a value that is never used: "wanted"
C:\Users\Casa Rodrigues\Desktop\files_20121204114001\gamemodes\BNL.pwn(14242) : warning 219: local variable "playermoney" shadows a variable at a preceding level
C:\Users\Casa Rodrigues\Desktop\files_20121204114001\gamemodes\BNL.pwn(39652) : error 025: function heading differs from prototype
C:\Users\Casa Rodrigues\Desktop\files_20121204114001\gamemodes\BNL.pwn(39697) : warning 219: local variable "Nome" shadows a variable at a preceding level
C:\Users\Casa Rodrigues\Desktop\files_20121204114001\gamemodes\BNL.pwn(4212) : warning 204: symbol is assigned a value that is never used: "Irhosp"
C:\Users\Casa Rodrigues\Desktop\files_20121204114001\gamemodes\BNL.pwn(4212 -- 40153) : warning 203: symbol is never used: "gSANZones"
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


1 Error.
Reply
#6

poste as linhas

sabe como pegar as linhas nй ?

se nao souber й so pegar o numero que esta ali (14242) : warning 219


tipo o numero que esta no meio dos parenteses e aperte ctrl+ g e pesquisa a linha e copia o codigo da linha pra eu ver
Reply
#7

Opa !

Mechi mais aqui acho que abaixou os erros !
procurei no ****** algumas coisas e conssegui consertar estб certo ??
vou postar as linhas!

Код:
C:\Users\Casa Rodrigues\Desktop\files_20121204114001\pawno\include\seif_walk.inc(44) : warning 201: redefinition of constant/macro (symbol "OnPlayerKeyStateChange")
C:\Users\Casa Rodrigues\Desktop\files_20121204114001\gamemodes\BNL.pwn(8346) : warning 204: symbol is assigned a value that is never used: "wanted"
C:\Users\Casa Rodrigues\Desktop\files_20121204114001\gamemodes\BNL.pwn(14241) : warning 219: local variable "playermoney" shadows a variable at a preceding level
C:\Users\Casa Rodrigues\Desktop\files_20121204114001\gamemodes\BNL.pwn(39651) : error 025: function heading differs from prototype
C:\Users\Casa Rodrigues\Desktop\files_20121204114001\gamemodes\BNL.pwn(39696) : warning 219: local variable "Nome" shadows a variable at a preceding level
C:\Users\Casa Rodrigues\Desktop\files_20121204114001\gamemodes\BNL.pwn(40152) : warning 203: symbol is never used: "gSANZones"
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


1 Error.
Linha 14241
Код:
public OnPlayerCommandText(playerid,cmdtext[])
{
	new string[256];
    new playermoney;
	new sendername[MAX_PLAYER_NAME];
	new giveplayer[MAX_PLAYER_NAME];
	new playername[MAX_PLAYER_NAME];
	new cmd[256];
	new tmp[256];
	new animid;
	new giveplayerid,moneys,idx;
	cmd = strtok(cmdtext,idx);
------------------------------------------------
LINHA 8346
Код:
new wanted = PlayerInfo[targetid][pWantedLevel];
------------------------------------------------
LINHA 39651
Код:
public OnPlayerShootPlayer(Shooter,Target,Float:HealthLost,Float:ArmourLost)
{
    new Float:health, Float:armour;
    GetPlayerHealth(Target,health);
    GetPlayerArmour(Target,armour);
    if(ArmourLost > 0.0) SetPlayerArmour(Target,floatadd(armour,ArmourLost));
    if(HealthLost > 0.0) SetPlayerHealth(Target,floatadd(health,HealthLost));
    new Damage;
    switch(GetPlayerWeapon(Shooter))
	{
        case 24: Damage = DEAGLEDANO;
        case 31: Damage = M4DANO;
        case 28: Damage = SMGDANO;
        case 29: Damage = MP5DANO;
        case 0: Damage = SOCODANO;
        case 22: Damage = NOVEDANO;
        case 23: Damage = SILENCEDDANO;
        case 5,3,6,7,2: Damage = 1;
        case 4: Damage = FACADANO;
        case 25: Damage = SHOTGUNDANO;
        case 26: Damage = SAWNDANO;
        case 30: Damage = AK47DANO;
        case 33,34: Damage = COUNTRYDANO;
    }
    armour = armour - Damage;
    if(armour < 0.0)
	{
        health += armour;
        if(health <= 0.0)
		{
            health = 0.0;
        }
        armour = 0.0;
    }
    SetPlayerHealth(Target, health);
    SetPlayerArmour(Target, armour);
    return 1;
}
-----------------------------------------
LINHA 39696
Код:
stock OrgNome(orgid, Nome[], len)
{
    if(orgid == 1) return format(Nome, len, "Comando Vermelho", 0);
    if(orgid == 2) return format(Nome, len, "Comando Vila Alianзa", 0);
	return format(Nome, len, "Nenhum", 0);
}
------------------------------------------------
E O ERROR 40152 nгo tem o GM vai atй 40151 ia agr ??
Reply
#8

Alguйm por favor pode ajudar
Reply


Forum Jump:


Users browsing this thread: 5 Guest(s)