SA-MP Forums Archive
[Ajuda] meu GM nao lendo a linha stock - 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] meu GM nao lendo a linha stock (/showthread.php?tid=549983)



meu GM nao lendo a linha stock - MiltonManoels - 10.12.2014

Eu ja tinha comentado em um topico anterior sobre esse problema, eu simplesmente nгo consigo compilar meu GM porque meu Pawno do nada resolveu nгo ler a linha stock, sempre funcionou, ai quando fui compilar hj nгo funciona mais, olha ae o problema:

Erro:
Код:
C:\Users\Tico\Desktop\Pastas\ServerSAMPModificado 0.1\gamemodes\meugm.pwn(1011) : error 017: undefined symbol "Nome"
C:\Users\Tico\Desktop\Pastas\ServerSAMPModificado 0.1\gamemodes\meugm.pwn(1012) : error 017: undefined symbol "Nome"
C:\Users\Tico\Desktop\Pastas\ServerSAMPModificado 0.1\gamemodes\meugm.pwn(1013) : error 017: undefined symbol "Nome"
C:\Users\Tico\Desktop\Pastas\ServerSAMPModificado 0.1\gamemodes\meugm.pwn(1014) : error 017: undefined symbol "Nome"
C:\Users\Tico\Desktop\Pastas\ServerSAMPModificado 0.1\gamemodes\meugm.pwn(1015) : error 017: undefined symbol "Nome"
C:\Users\Tico\Desktop\Pastas\ServerSAMPModificado 0.1\gamemodes\meugm.pwn(1016) : error 017: undefined symbol "Nome"
C:\Users\Tico\Desktop\Pastas\ServerSAMPModificado 0.1\gamemodes\meugm.pwn(1017) : error 017: undefined symbol "Nome"
C:\Users\Tico\Desktop\Pastas\ServerSAMPModificado 0.1\gamemodes\meugm.pwn(1018) : error 017: undefined symbol "Nome"
C:\Users\Tico\Desktop\Pastas\ServerSAMPModificado 0.1\gamemodes\meugm.pwn(1019) : error 017: undefined symbol "Nome"
C:\Users\Tico\Desktop\Pastas\ServerSAMPModificado 0.1\gamemodes\meugm.pwn(1020) : error 017: undefined symbol "Nome"
C:\Users\Tico\Desktop\Pastas\ServerSAMPModificado 0.1\gamemodes\meugm.pwn(1021) : error 017: undefined symbol "Nome"
C:\Users\Tico\Desktop\Pastas\ServerSAMPModificado 0.1\gamemodes\meugm.pwn(1022) : error 017: undefined symbol "Nome"
C:\Users\Tico\Desktop\Pastas\ServerSAMPModificado 0.1\gamemodes\meugm.pwn(1023) : error 017: undefined symbol "Nome"
C:\Users\Tico\Desktop\Pastas\ServerSAMPModificado 0.1\gamemodes\meugm.pwn(1024) : error 017: undefined symbol "Nome"
C:\Users\Tico\Desktop\Pastas\ServerSAMPModificado 0.1\gamemodes\meugm.pwn(1025) : error 017: undefined symbol "Nome"
C:\Users\Tico\Desktop\Pastas\ServerSAMPModificado 0.1\gamemodes\meugm.pwn(1026) : error 017: undefined symbol "Nome"
C:\Users\Tico\Desktop\Pastas\ServerSAMPModificado 0.1\gamemodes\meugm.pwn(1027) : error 017: undefined symbol "Nome"
C:\Users\Tico\Desktop\Pastas\ServerSAMPModificado 0.1\gamemodes\meugm.pwn(1028) : error 017: undefined symbol "Nome"
C:\Users\Tico\Desktop\Pastas\ServerSAMPModificado 0.1\gamemodes\meugm.pwn(1029) : error 017: undefined symbol "Nome"
C:\Users\Tico\Desktop\Pastas\ServerSAMPModificado 0.1\gamemodes\meugm.pwn(1030) : error 017: undefined symbol "Nome"
C:\Users\Tico\Desktop\Pastas\ServerSAMPModificado 0.1\gamemodes\meugm.pwn(1031) : error 017: undefined symbol "Nome"
C:\Users\Tico\Desktop\Pastas\ServerSAMPModificado 0.1\gamemodes\meugm.pwn(1032) : error 017: undefined symbol "Nome"
C:\Users\Tico\Desktop\Pastas\ServerSAMPModificado 0.1\gamemodes\meugm.pwn(1033) : error 017: undefined symbol "Nome"
C:\Users\Tico\Desktop\Pastas\ServerSAMPModificado 0.1\gamemodes\meugm.pwn(1034) : error 017: undefined symbol "Nome"
C:\Users\Tico\Desktop\Pastas\ServerSAMPModificado 0.1\gamemodes\meugm.pwn(1035) : error 017: undefined symbol "Nome"
C:\Users\Tico\Desktop\Pastas\ServerSAMPModificado 0.1\gamemodes\meugm.pwn(1036) : error 017: undefined symbol "Nome"
Linhas com o erro:

pawn Код:
if(strfind(Nome(playerid),"clock$",true) != -1) Ban(playerid);
    if(strfind(Nome(playerid),"prn",true) != -1) Ban(playerid);
    if(strfind(Nome(playerid),"Carl",true) != -1) Ban(playerid);
    if(strfind(Nome(playerid),"con",true) != -1) Ban(playerid);
    if(strfind(Nome(playerid),"SgtPepper",true) != -1) Ban(playerid);
    if(strfind(Nome(playerid),"Pepe",true) != -1) Ban(playerid);
    if(strfind(Nome(playerid),"nul",true) != -1) Ban(playerid);
    if(strfind(Nome(playerid),"Pepno",true) != -1) Ban(playerid);
    if(strfind(Nome(playerid),"Pepsi",true) != -1) Ban(playerid);
    if(strfind(Nome(playerid),"Rocky",true) != -1) Ban(playerid);
    if(strfind(Nome(playerid),"Carl",true) != -1) Ban(playerid);
    if(strfind(Nome(playerid),"Vino_Toro",true) != -1) Ban(playerid);
    if(strfind(Nome(playerid),"Zoquete",true) != -1) Ban(playerid);
    if(strfind(Nome(playerid),"AquilesBrinco",true) != -1) Ban(playerid);
    if(strfind(Nome(playerid),"Azucar",true) != -1) Ban(playerid);
    if(strfind(Nome(playerid),"Manfrey",true) != -1) Ban(playerid);
    if(strfind(Nome(playerid),"Papirola",true) != -1) Ban(playerid);
    if(strfind(Nome(playerid),"[ViP]Labrik",true) != -1)Ban(playerid);
    if(strfind(Nome(playerid),"Sony",true) != -1) Ban(playerid);
    if(strfind(Nome(playerid),"Pacman",true) != -1) Ban(playerid);
    if(strfind(Nome(playerid),"Batman",true) != -1)Ban(playerid);
    if(strfind(Nome(playerid),"aux",true) != -1) Ban(playerid);
    if(strfind(Nome(playerid),"com1",true) != -1) Ban(playerid);
    if(strfind(Nome(playerid),"com2",true) != -1) Ban(playerid);
    if(strfind(Nome(playerid),"com3",true) != -1) Ban(playerid);
    if(strfind(Nome(playerid),"com4",true) != -1) Ban(playerid);
    if(strfind(Nome(playerid),"com5",true) != -1) Ban(playerid);
    if(strfind(Nome(playerid),"com6",true) != -1) Ban(playerid);
    if(strfind(Nome(playerid),"com7",true) != -1) Ban(playerid);
    if(strfind(Nome(playerid),"com8",true) != -1) Ban(playerid);
    if(strfind(Nome(playerid),"com9",true) != -1) Ban(playerid);
    if(strfind(Nome(playerid),"lpt1",true) != -1) Ban(playerid);
    if(strfind(Nome(playerid),"lpt2",true) != -1) Ban(playerid);
    if(strfind(Nome(playerid),"lpt3",true) != -1) Ban(playerid);
    if(strfind(Nome(playerid),"lpt4",true) != -1) Ban(playerid);
    if(strfind(Nome(playerid),"lpt5",true) != -1) Ban(playerid);
    if(strfind(Nome(playerid),"lpt6",true) != -1) Ban(playerid);
    if(strfind(Nome(playerid),"lpt8",true) != -1) Ban(playerid);
    if(strfind(Nome(playerid),"lpt9",true) != -1) Ban(playerid);
E ai tem as linhas que jб define o "Nome" mas ele simplesmente ignora essas linhas:

pawn Код:
stock Nome(playerid)
{
    new pNome[MAX_PLAYER_NAME];
    GetPlayerName(playerid, pNome, 24);
    return pNome;
}
Antes funcionava direitinho, mas ai quando fui alterar uma coisa nada a ver com isso no GM, na hora de compilar ele fica dando esse erro.Ajuda pls


Re: meu GM nao lendo a linha stock - n0minal - 10.12.2014

Certifique-se de que essa stock estб no gm, porque pelos erros ela nгo estб... Ela nгo pode estar dentro de nenhuma outra funзгo ou public, recomendo colocar ela no topo do gm...