Help in MYSQL Command
#4

Quote:
Originally Posted by DaTa[X]
Посмотреть сообщение
pawn Код:
CMD:checkbolo(playerid, params[])
{
    new vehicleid;
    if(sscanf(params, "d", vehicleid)) return SendClientMessage(playerid, COLOR_GREY, "[CMD]: /checkbolo [vehicleid]");
    if(playerinfo[playerid][pMuted] == 1) return SendClientMessage(playerid, COLOR_ERROR, MUTED_ERROR);
    if(playerinfo[playerid][pLogado] == 0) return SendClientMessage(playerid, COLOR_ERROR, LOGIN_ERROR);
    format(query, sizeof(query), "SELECT Bolo FROM `vehicleinfo` WHERE ID = %d",vehicleid,"'");
    mysql_function_query(MYSQLConnection, query, false, "noReturnQuery", "d", playerid);
    format(string, sizeof(string), "Bolo: %s", query);
    SendClientMessage(playerid, COLOR_GREY, query);
    return 1;
}
Not work man,

the message SELECT FROM Bolo `vehicleinfo` WHERE id =% d; S
Reply


Messages In This Thread
Help in MYSQL Command - by willttoonn - 06.10.2013, 01:30
Re: Help in MYSQL Command - by willttoonn - 06.10.2013, 02:44
Re: Help in MYSQL Command - by DaTa[X] - 06.10.2013, 03:02
Re: Help in MYSQL Command - by willttoonn - 06.10.2013, 03:13
Re: Help in MYSQL Command - by -Prodigy- - 06.10.2013, 03:49
Re: Help in MYSQL Command - by willttoonn - 06.10.2013, 04:09
Re: Help in MYSQL Command - by willttoonn - 06.10.2013, 22:10
Re: Help in MYSQL Command - by NeTSk8 - 07.10.2013, 15:57

Forum Jump:


Users browsing this thread: 2 Guest(s)