This dudb is the problem??
#1

if(udb_Exists(PlayerName(playerid)))

in this line i getting errors, i dont want to show my register/login system so i can only show the error line...

D:\GTA San Andreas\gamemodes\Test.pwn(3 : error 012: invalid function call, not a valid address
D:\GTA San Andreas\gamemodes\Test.pwn(3 : warning 215: expression has no effect
D:\GTA San Andreas\gamemodes\Test.pwn(3 : error 001: expected token: ";", but found ")"
D:\GTA San Andreas\gamemodes\Test.pwn(3 : error 029: invalid expression, assumed zero
D:\GTA San Andreas\gamemodes\Test.pwn(3 : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


4 Errors.
Reply
#2

stock GetName(playerid)
{
new name[24];
GetPlayerName(playerid, name, sizeof(name));
return name;
}

if(udb_Exists(GetName(playerid))
{

}
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)