connession_handle always 1
#1

Hi guys i use this plugin : https://sampforum.blast.hk/showthread.php?tid=56564

i have this :

global variable
new handle
#define HOST "127.0.0.1"
#define USER "root"
#define DATABASE "example"
#define PASSWORD ""

ongamemodeinit()
{
handle=mysql_connect(HOST, USER, DATABASE, PASSWORD);
printf("handle %d",handle);
}

the handle is always 1,
if i turn on or off the mysql server or change the name of database with one doesn't exist the handle is 1. Why?
Reply


Messages In This Thread
connession_handle always 1 - by holahola - 16.06.2016, 15:12
Re: connession_handle always 1 - by Stinged - 16.06.2016, 15:42
Re: connession_handle always 1 - by holahola - 16.06.2016, 16:05

Forum Jump:


Users browsing this thread: 1 Guest(s)