Posts: 116
Threads: 28
Joined: Feb 2015
When I compile I get this
PHP код:
C:\Users\Charalambos\Desktop\heizung\gamemodes\SFCRRPG.pwn(12930) : error 017: undefined symbol "udb_CheckLogin"
C:\Users\Charalambos\Desktop\heizung\gamemodes\SFCRRPG.pwn(12981) : warning 202: number of arguments does not match definition
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
1 Error.
Posts: 680
Threads: 143
Joined: Nov 2014
Reputation:
0
Should we guess the code ?!
Posts: 116
Threads: 28
Joined: Feb 2015
Which lines do you need bro?
Posts: 1,276
Threads: 6
Joined: Aug 2014
The callback what uses that.
Posts: 116
Threads: 28
Joined: Feb 2015
PHP код:
if (udb_CheckLogin(PlayerName(playerid),inputtext))
{
BankCash[playerid] =dUserINT(PlayerName(playerid)).("Bankcash");
GivePlayerMoney(playerid,dUserINT(PlayerName(playerid)).("Money")-GetPlayerMoney(playerid));
SetPlayerScore(playerid,dUserINT(PlayerName(playerid)).("Score")-GetPlayerScore(playerid));
CanUseArmy[playerid] =dUserINT(PlayerName(playerid)).("Army");
CanUseCIA[playerid] =dUserINT(PlayerName(playerid)).("CIA");
AdminLevel[playerid] =dUserINT(PlayerName(playerid)).("Adminlevel");
IsRegularPlayer[playerid] =dUserINT(PlayerName(playerid)).("RegularPlayer");
NameBanned[playerid] =dUserINT(PlayerName(playerid)).("Nameban");
DrugHouseOwner[playerid] =dUserINT(PlayerName(playerid)).("DrugHouseOwner");
OttoOwner[playerid] =dUserINT(PlayerName(playerid)).("OttoOwner");
TerroristSkill[playerid] =dUserINT(PlayerName(playerid)).("TSkill");
RobSkill[playerid] =dUserINT(PlayerName(playerid)).("RobSkill");
HasPackC4[playerid] =dUserINT(PlayerName(playerid)).("HasPackC4");
HasPackRope[playerid] =dUserINT(PlayerName(playerid)).("HasPackRope");
HasPackMoney[playerid] =dUserINT(PlayerName(playerid)).("HasPackMoney");
SavedWantedLevel[playerid] =dUserINT(PlayerName(playerid)).("SavedWantedLevel");
SavedJailTime[playerid] =dUserINT(PlayerName(playerid)).("SavedJailTime");
new pIp[16];
GetPlayerIp(playerid, pIp, sizeof(pIp));
dUserSet(PlayerName(playerid)).("IP", pIp);
PLAYERLIST_authed[playerid]=true;
return SendClientMessage(playerid,COLOR_LIGHTBLUE,"You have successfully logged in! Your previous stats have been restored.");
}
ShowLoginScreen(playerid);
CheckPasswordAttempts(playerid);
}
return 1;
Posts: 116
Threads: 28
Joined: Feb 2015
Posts: 1,276
Threads: 6
Joined: Aug 2014
Do you have dubd included?
OFT: Why are there a handful of people asking help using udb? There are better things like MySQL
Posts: 116
Threads: 28
Joined: Feb 2015
Quote:
Originally Posted by Battlezone
|
I alredy have it,
but the problem stil exists :/