28.01.2012, 14:28
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...
And here is what is in Line 31725:
Here is from where is line 31725 :
Here is at 2nd problem ...
Line:31805
Here is from where is this line :
Please HELP !
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.
Код:
if (udb_Create(PlayerName2(playerid),params))
Код:
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)) {
Line:31805
Код:
if (udb_CheckLogin(PlayerName2(playerid),params))
Код:
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))