g_mysql_init help??
#1

I'm working with this script I found to improve my development skills, and all of the coding is split into different Pwns and linked to the main one using '#include'.

When I edit and compile one of the includes, I have to compile together the main .pwn for them to take effect on the script, though the main one isn't compiling. Can anyone help me?

Quote:

main() {}

public OnGameModeInit()
{
print("Preparing the gamemode, please wait...");
g_mysql_Init();
return 1;
}

public OnGameModeExit()
{
g_mysql_Exit();
return 1;
}

Quote:

\Desktop\Script\gamemodes\BGRP.pwn(3 : error 017: undefined symbol "g_mysql_Init"
\Desktop\Script\gamemodes\BGRP.pwn(44) : error 017: undefined symbol "g_mysql_Exit"
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


2 Errors.

Can anybody help? I'm new to this, but I need it fixed..
Reply
#2

The compiler can't find the required functions. Either because they have been declared as static in another file or because they simply don't exist.
Reply
#3

Well, is there any way I can locate them? I sent the script to a friend of mine and it compiled fine for him?.. Welp.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)