What's wrong with my command? [+REP]
#1

pawn Код:
CMD:serverhouses(playerid, params[])
{
        if(PlayerInfo[playerid][pAdmin] >= 2))
    format(query, sizeof(query), "SELECT * FROM `houses`");
    mysql_function_query(dbHandle, query, true, "ShowAmount", "is[128]", playerid, "Dynamic Houses");
    return 1
    }
    else
    {
    SendClientMessage(playerid, COLOR_WHITE, "You aren't authorized to use this command!");
    }
    return 1;
}
It just messes my script, what's wrong with it? Got MYSQL included.
Reply


Messages In This Thread
What's wrong with my command? [+REP] - by Jing_Chan - 25.01.2014, 13:37
Re: What's wrong with my command? [+REP] - by Jing_Chan - 25.01.2014, 13:48

Forum Jump:


Users browsing this thread: 1 Guest(s)