25.01.2011, 03:41
The ; is fine. You didn't have to remove that. Here is your problem:
UPDATE users SET money = %d, score = %d, Shamal = '%d', Cargo = '%d', Helicopter = '%d', ban = %d, ban_reason = '%s', WHERE username = '%s'
Remove that comma at the end - it's not supposed to be there. It should be:
UPDATE users SET money = %d, score = %d, Shamal = '%d', Cargo = '%d', Helicopter = '%d', ban = %d, ban_reason = '%s' WHERE username = '%s'
UPDATE users SET money = %d, score = %d, Shamal = '%d', Cargo = '%d', Helicopter = '%d', ban = %d, ban_reason = '%s', WHERE username = '%s'
Remove that comma at the end - it's not supposed to be there. It should be:
UPDATE users SET money = %d, score = %d, Shamal = '%d', Cargo = '%d', Helicopter = '%d', ban = %d, ban_reason = '%s' WHERE username = '%s'