SQLite Problem
#4

pawn Код:
public OnPlayerDisconnect( playerid )
{
    format( Query, sizeof( Query ), "UPDATE `REPUTATION` SET Reputation = '%d' WHERE Name = '%s') ", RK_REP[ playerid ][ RK_REPUTATION ], GetName(playerid) );
    db_free_result( db_query( Database, Query ) );
}
Try this.

That should work, it has to have the ' " ' character besides them like this:
pawn Код:
db_get_field_assoc(Result, "GANGID", Field, 30);
Reply


Messages In This Thread
SQLite Problem - by Rock_Ro - 08.07.2011, 13:57
Re: SQLite Problem - by Lorenc_ - 08.07.2011, 14:10
Re: SQLite Problem - by Rock_Ro - 08.07.2011, 14:13
Re: SQLite Problem - by Lorenc_ - 08.07.2011, 14:14
Re: SQLite Problem - by [NoV]LaZ - 08.07.2011, 14:15
Re: SQLite Problem - by Bakr - 08.07.2011, 14:17
Re: SQLite Problem - by Rock_Ro - 08.07.2011, 14:21
Re: SQLite Problem - by Lorenc_ - 08.07.2011, 14:25
Re: SQLite Problem - by Rock_Ro - 08.07.2011, 14:27
Re: SQLite Problem - by [NoV]LaZ - 08.07.2011, 14:30

Forum Jump:


Users browsing this thread: 1 Guest(s)