Scripting problem (easydb)
#1

I added a group system into my gamemode script and after compiling I got those errors :

error 017: undefined symbol "DB"
error 029: invalid expression, assumed zero
error 017: undefined symbol "Open"

The compiler says that they're all on the same line, the 8th one but they actually are NOT on the 8th line. Here's where they are :

CODE] DB_Open("Group.db");
Group_Table = DB_VerifyTable("Groups","id");
GroupMember_Table = DB_VerifyTable("GroupMembers","id");
DB_VerifyColumn(Group_Table,"GroupName", DB_TYPE_STRING,"");
DB_VerifyColumn(Group_Table,"GroupMotd", DB_TYPE_STRING,"");
////////////////////////////////////////////////////////////
DB_VerifyColumn(GroupMember_Table,"UserName", DB_TYPE_STRING,"");
DB_VerifyColumn(GroupMember_Table,"GroupName", DB_TYPE_STRING,"");
DB_VerifyColumn(GroupMember_Table,"GroupLeader",DB _TYPE_NUMBER,0);[/CODE]
Reply
#2

Can someone help me please ??
Reply
#3

What database type used ?
Reply
#4

Look at the line 8, here is not any "DB", here is DB_Open, DB_VerifyTable, etc is not same thing !
Reply
#5

Quote:
Originally Posted by jamal1992
Посмотреть сообщение
Look at the line 8, here is not any "DB", here is DB_Open, DB_VerifyTable, etc is not same thing !
there's isnt anythig in the 8th line, here it is :

PHP код:
//---------------------------------------------------------- 
That's the line 8

Please help me guys, there should be at least 1 person who knows how to fix that
Reply
#6

Quote:

error 017: undefined symbol "DB"
error 029: invalid expression, assumed zero
error 017: undefined symbol "Open"

This says is 2 things undefined on that line, possible to have a mistake like that 'DB Open' and show it underfined. take a look carefully or search all 'Open' words from gamemode and check it.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)