[RESOLVIDO] Ajuda nesses 3 Erros aew :D
#1

Ajuda nesses Erros:

C:\Documents and Settings\ADM\Desktop\NYGA.pwn(2794) : error: 017: undefined symbol "udb_planos"
Linha 2794
planos[0] = udb_planos(PlayerName(playerid));


C:\Documents and Settings\ADM\Desktop\NYGA.pwn(3632) : error: 035: argument type mismatch (argument 13)

udb_Create(PlayerName(playerid), tmp /*senha*/,0 /*crйditos*/, 300 /*grana*/, 0 /*skin*/, 3000 /*gbanco*/, 0 /*gas*/, 0 /*planos*/, 0 /*har*/, 0 /*hterra*/, 0 /*hmar*/, 0 /*preso*/, 1 /*prof*/, 0 /*org*/, ""/*clantag*/, 1243.1599/*X*/, -1693.4703/*Y*/, 16.1974/*Z*/, 177.2275/*ang*/, 100.0 /*hp*/);


C:\Documents and Settings\ADM\Desktop\NYGA.pwn(5642) : error: 017: undefined symbol "udb_getPlanos"
planos[0] = udb_getPlanos(PlayerName(playerid));


Me ajudem aew
Reply
#2

Poxa, eu nunca mexi com UDB, malz
Reply
#3

:/ tah foda esses erros :S
Reply
#4

Alguem ajuda aew ;S por favor
Reply
#5

Quote:
Originally Posted by rafinha
Ajuda nesses Erros:

C:\Documents and Settings\ADM\Desktop\NYGA.pwn(2794) : error: 017: undefined symbol "udb_planos"
Linha 2794
planos[0] = udb_planos(PlayerName(playerid));


C:\Documents and Settings\ADM\Desktop\NYGA.pwn(3632) : error: 035: argument type mismatch (argument 13)

udb_Create(PlayerName(playerid), tmp /*senha*/,0 /*crйditos*/, 300 /*grana*/, 0 /*skin*/, 3000 /*gbanco*/, 0 /*gas*/, 0 /*planos*/, 0 /*har*/, 0 /*hterra*/, 0 /*hmar*/, 0 /*preso*/, 1 /*prof*/, 0 /*org*/, ""/*clantag*/, 1243.1599/*X*/, -1693.4703/*Y*/, 16.1974/*Z*/, 177.2275/*ang*/, 100.0 /*hp*/);


C:\Documents and Settings\ADM\Desktop\NYGA.pwn(5642) : error: 017: undefined symbol "udb_getPlanos"
planos[0] = udb_getPlanos(PlayerName(playerid));


Me ajudem aew
]

1є: No DUDB nгo existe udb_planos(PlayerName(playerid));
2є: Nгo se usa assim! Й assim: udb_Create(nickname[],pwd[]); Ou seja dentro dos () й (nickdocara,senha)
3є: No DUDB nгo existe udb_getPlanos(PlayerName(playerid));

Dica: Nгo invente cуdigos. ^^
DicaІ: Para adicionar linhas em uma conta use: udb_UserSetInt(nickname[],key[],value)
Reply
#6

Quote:
udb_Create(PlayerName(playerid), tmp /*-->senha*/,0 /*-->crйditos*/, 0 /*-->grana*/, 102 /*-->skin*/, 10000 /*-->gbanco*/, 100 /*-->gas*/, 0 /*-->har*/, 0 /*-->hterra*/, 0 /*-->hmar*/, 0 /*-->preso*/, 1 /*-->prof*/, ""/*-->clantag*/, -1757.9701/*-->X*/, 960.9874/*-->Y*/, 24.8828/*-->Z*/, 180.0000/*-->ang*/, 100.0 /*-->hp*/);
Agora deu certo
Reply
#7

Quote:
Originally Posted by SuB_ZeRo0_
Dica: Nгo invente cуdigos. ^^
Porque nгo

й bem simples de criar..

Olha ultimo k criei:

pawn Код:
stock GetVehicleName(playerid)
{
new string[256], i;
format(string,sizeof(string),"Nome do Veiculo: %s",NomeCarro[GetVehicleModel(GetPlayerVehicleID(i))-400]);
SendClientMessage(playerid, COR_AZUL, string);
return 1;
}
Reply
#8

Quote:
Originally Posted by rafinha
Quote:
udb_Create(PlayerName(playerid), tmp /*-->senha*/,0 /*-->crйditos*/, 0 /*-->grana*/, 102 /*-->skin*/, 10000 /*-->gbanco*/, 100 /*-->gas*/, 0 /*-->har*/, 0 /*-->hterra*/, 0 /*-->hmar*/, 0 /*-->preso*/, 1 /*-->prof*/, ""/*-->clantag*/, -1757.9701/*-->X*/, 960.9874/*-->Y*/, 24.8828/*-->Z*/, 180.0000/*-->ang*/, 100.0 /*-->hp*/);
Agora deu certo
Se funcionar assim a senha de login dele vai ser: (Alйm de ser codificada)
Код:
 tmp /*-->senha*/,0 /*-->crйditos*/, 0 /*-->grana*/, 102 /*-->skin*/, 10000 /*-->gbanco*/, 100 /*-->gas*/, 0 /*-->har*/, 0 /*-->hterra*/, 0 /*-->hmar*/, 0 /*-->preso*/, 1 /*-->prof*/, ""/*-->clantag*/, -1757.9701/*-->X*/, 960.9874/*-->Y*/, 24.8828/*-->Z*/, 180.0000/*-->ang*/, 100.0 /*-->hp*/
Jб falei, usa sу (nick,senha); depois usa o udb_UserSetINT()
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)