08.07.2011, 14:14
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 ) );
}
That should work, it has to have the ' " ' character besides them like this:
pawn Код:
db_get_field_assoc(Result, "GANGID", Field, 30);