Our of boundries, script doesn't load.
#4

Are u sure? It's impossible seeing your code.

Try a debug there:

pawn Код:
public MySQL_CheckAccount(playerid){
    GetPlayerName(playerid,PlayerName,25);
    format(s_Query,sizeof(s_Query),"SELECT * FROM `accounts` WHERE sUser = '%s'",PlayerName);
    mysql_function_query(s_MySQL,s_Query,true,"s@MySQL_CheckAccount","d",playerid);
    printf("Checking for: %s",PlayerName);
    return 1;
}
By the way, i was reading something about MySQL doesn't supporting 'localhost', you should use 127.0.0.1 or you local network ip adress...

@Edit FAIL, i've made a mistake with Create and Check, hehe

I dont't really know if it works

pawn Код:
if( 5 < (strlen(inputtext)) > 25)
But i'm sure this way works:

pawn Код:
if(strlen(inputtext) < 5 || strlen(inputtext) > 25)
    return Something;
Reply


Messages In This Thread
Our of boundries, script doesn't load. - by Darnell - 11.07.2013, 20:52
Re: Our of boundries, script doesn't load. - by arakuta - 11.07.2013, 21:06
Re: Our of boundries, script doesn't load. - by Darnell - 11.07.2013, 21:11
Re: Our of boundries, script doesn't load. - by arakuta - 11.07.2013, 21:16
Re: Our of boundries, script doesn't load. - by Darnell - 11.07.2013, 21:23
Re: Our of boundries, script doesn't load. - by arakuta - 11.07.2013, 21:25
Re: Our of boundries, script doesn't load. - by Darnell - 11.07.2013, 21:28
Re: Our of boundries, script doesn't load. - by Darnell - 11.07.2013, 22:09

Forum Jump:


Users browsing this thread: 1 Guest(s)