[Ajuda] GetarConta
#1

bom gente peguei um registro e login de cidadenova rp e humildadeforever juntei os dois e editei-os totalmente. e estб dando um erro e nгo consigo resolver, podem me ajudar?

Linha:

pawn Код:
stock GetarConta(playerid) //438
{
    new arq[40];
    format(arq,sizeof(arq),arquivo,pName(playerid)); //441
    return arq;
}
Erros:

pawn Код:
C:\Documents and Settings\Lucas.DESKTOP\Desktop\Assasins'City\gamemodes\ACv1.pwn(441) : error 017: undefined symbol "arquivo"
C:\Documents and Settings\Lucas.DESKTOP\Desktop\Assasins'
City\gamemodes\ACv1.pwn(438) : warning 203: symbol is never used: "playerid"
Pawn compiler 3.2.3664          Copyright (c) 1997-2006, ITB CompuPhase


1 Error.
Reply
#2

pawn Код:
stock GetarConta() //438
{
    new arq[40];
    format(arq,sizeof(arq),arq,pName(playerid)); //441
    return arq;
}
Reply
#3

Quote:
Originally Posted by Tony_Rodrigues
Посмотреть сообщение
pawn Код:
stock GetarConta() //438
{
    new arq[40];
    format(arq,sizeof(arq),arq,pName(playerid)); //441
    return arq;
}
Jб tentei assim cara, mais resulta nisso:

pawn Код:
C:\Documents and Settings\Lucas.DESKTOP\Desktop\Assasins'City\gamemodes\ACv1.pwn(421) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Lucas.DESKTOP\Desktop\Assasins'
City\gamemodes\ACv1.pwn(422) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Lucas.DESKTOP\Desktop\Assasins'City\gamemodes\ACv1.pwn(423) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Lucas.DESKTOP\Desktop\Assasins'
City\gamemodes\ACv1.pwn(424) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Lucas.DESKTOP\Desktop\Assasins'City\gamemodes\ACv1.pwn(425) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Lucas.DESKTOP\Desktop\Assasins'
City\gamemodes\ACv1.pwn(431) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Lucas.DESKTOP\Desktop\Assasins'City\gamemodes\ACv1.pwn(432) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Lucas.DESKTOP\Desktop\Assasins'
City\gamemodes\ACv1.pwn(433) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Lucas.DESKTOP\Desktop\Assasins'City\gamemodes\ACv1.pwn(434) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Lucas.DESKTOP\Desktop\Assasins'
City\gamemodes\ACv1.pwn(435) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Lucas.DESKTOP\Desktop\Assasins'City\gamemodes\ACv1.pwn(441) : error 017: undefined symbol "pName"
Pawn compiler 3.2.3664          Copyright © 1997-2006, ITB CompuPhase


1 Error.
Reply
#4

pawn Код:
stock GetarConta(playerid) //438
{
    new arq[40], pName[MAX_PLAYER_NAME];
     GetPlayerName(playerid, pName, sizeof(pName));;
    format(arq,sizeof(arq),"cONTAS/%s.ini",pName); //441
    return true;
}
Arquivos > ond fica as contas
Reply
#5

Primeiro: Nenhum dos warnings n e nessa stock ai

Segundo: a stock pName n existe! Poe essa aki
pawn Код:
stock pName(ID)
{
    new snd[MAX_PLAYER_NAME];
    GetPlayerName(ID,snd,sizeof(snd));
    return snd;
}
Ajudei? +rep
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)