format(query,sizeof(query),"UPDATE `players` SET `Faction` = '%d' , `FactionOwner` = 1 WHERE `Username` = '%s'",fInfo[Factions][fIndex], CurrentFacOwner);