When to use %s, %f or %d?
#10

pawn Код:
new Requete[1024];
        format(Requete, sizeof(Requete), "UPDATE lsrp_comptes SET `Age`=%d, `Sex`=%d, `Aspi`=%d, `Skin`=%d, `Cash`=%d WHERE ID=%d",
        Player_infos[playerid][p_Age] = strval(inputtext),
        Player_infos[playerid][p_Sex] = strval(inputtext),
        Player_infos[playerid][p_Aspi] = strval(inputtext),
        Player_infos[playerid][p_Skin] = strval(inputtext),
        Player_infos[playerid][p_Cash] = strval(inputtext),
        Player_infos[playerid][p_Sql_Id]) = strval(inputtext);
        mysql_query(Requete);
        mysql_debug_save(Requete);
like that?
Reply


Messages In This Thread
When to use %s, %f or %d? - by FayR - 07.10.2013, 00:06
Re: When to use %s, %f or %d? - by Scrillex - 07.10.2013, 00:10
Re : When to use %s, %f or %d? - by FayR - 07.10.2013, 00:13
Re: When to use %s, %f or %d? - by Scrillex - 07.10.2013, 00:18
Re : When to use %s, %f or %d? - by FayR - 07.10.2013, 00:24
Re: When to use %s, %f or %d? - by Scrillex - 07.10.2013, 00:33
Re : When to use %s, %f or %d? - by FayR - 07.10.2013, 00:35
Re: When to use %s, %f or %d? - by EiresJason - 07.10.2013, 00:36
Re: When to use %s, %f or %d? - by [ABK]Antonio - 07.10.2013, 00:38
Re : When to use %s, %f or %d? - by FayR - 07.10.2013, 00:40

Forum Jump:


Users browsing this thread: 2 Guest(s)