[Help] Error while Compiling.
#1

Hi,guys.
I today decided to open a SATDM server but i haved a little problem in compiling the SATDM gamemode.

Here is what is the problem...

This is the error i got...

Код:
E:\Documents and Settings\Administrator\Desktop\Folder\SATDM~RP v13.5\Gamemodes\SATDM_v13.pwn(31725) : warning 202: number of arguments does not match definition
E:\Documents and Settings\Administrator\Desktop\Folder\SATDM~RP v13.5\Gamemodes\SATDM_v13.pwn(31805) : error 017: undefined symbol "udb_CheckLogin"
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


1 Error.
And here is what is in Line 31725:

Код:
    if (udb_Create(PlayerName2(playerid),params))
Here is from where is line 31725 :
Код:
CMD:register(playerid,params[])
{
    if (PlayerInfo[playerid][LoggedIn] == 1) return SendClientMessage(playerid,COLOR_RED,"ACCOUNT: You are already registered and logged in.");
    if (udb_Exists(PlayerName2(playerid))) return SendClientMessage(playerid,COLOR_RED,"ACCOUNT: This account already exists, please use '/login [password]'.");
    if (strlen(params) == 0) return SendClientMessage(playerid,COLOR_RED,"ACCOUNT: Correct usage: '/register [password]'");
    if (strlen(params) < 4 || strlen(params) > 20) return SendClientMessage(playerid,COLOR_RED,"ACCOUNT: Password length must be greater than three characters");
    if (udb_Create(PlayerName2(playerid),params))
	{
Here is at 2nd problem ...
Line:31805

Код:
 if (udb_CheckLogin(PlayerName2(playerid),params))
Here is from where is this line :

Код:
CMD:login(playerid,params[])
{
    if (PlayerInfo[playerid][LoggedIn] == 1) return SendClientMessage(playerid,COLOR_RED,"ACCOUNT: You are already logged in.");
    if (!udb_Exists(PlayerName2(playerid))) return SendClientMessage(playerid,COLOR_RED,"ACCOUNT: Account doesn't exist, please use '/register [password]'.");
    if (strlen(params)==0) return SendClientMessage(playerid,COLOR_RED,"ACCOUNT: Correct usage: '/login [password]'");
    if (udb_CheckLogin(PlayerName2(playerid),params))
Please HELP !
Reply


Messages In This Thread
[Help] Error while Compiling. - by SATDMv13 - 28.01.2012, 14:28
Re: [Help] Error while Compiling. - by SATDMv13 - 28.01.2012, 14:33
Re: [Help] Error while Compiling. - by SATDMv13 - 28.01.2012, 14:36
Re: [Help] Error while Compiling. - by SATDMv13 - 28.01.2012, 14:44
Re: [Help] Error while Compiling. - by Konstantinos - 28.01.2012, 14:48
Re: [Help] Error while Compiling. - by thimo - 28.01.2012, 14:50
Re: [Help] Error while Compiling. - by Mark™ - 28.01.2012, 14:55
Re: [Help] Error while Compiling. - by Konstantinos - 28.01.2012, 15:03
Re: [Help] Error while Compiling. - by Mark™ - 28.01.2012, 15:09
Re: [Help] Error while Compiling. - by SATDMv13 - 29.01.2012, 14:03

Forum Jump:


Users browsing this thread: 1 Guest(s)