24.06.2011, 01:00
I'm trying out something that my friend showed me.
Still getting same errors though :/
pawn Код:
public OnFilterScriptInit( )
{
new Query[1024];
Database = db_open("SArcr.db");
format(Query, sizeof(Query),"CREATE TABLE IF NOT EXISTS `Users` (`IP`,`Name`,`Password`,`Money`,`Score`,`AdminLevel`,`RegularPlayer`,`SavedWantedLevel`,`SavedJailTime`,`RobRank`,`RapeRank`,`DrugDealerRank`,`GunDealerRank`,`HitmanRank`,`MedicRank`,`BountyHunterRank`,`KidnapperRank`,`TerroristRank`,`HasBriefcase`,`BriefcaseMoney`,`BriefcaseC4`,`BriefcaseWeaponSlot1`,`BriefcaseWeaponAmmoSlot1`,`BriefcaseWeaponSlot2`,`BriefcaseWeaponAmmoSlot2`,`BriefcaseWeaponSlot3`,`BriefcaseWeaponAmmoSlot3`,`CanUseSWAT`,`CanUseFBI`,`CanUseArmy`,`CopRank`,`Tazes`,`Cuffs`,`Arrests`,`SWATRank`,`FBIRank`,`ArmyRank`,`BanTime`,`BanReason`,`AdminWhoBanned`,`GrottiOwner`,`WangCarsOwner`,`OttosAutosOwner`,`AutobahnOwner`,`LSDrugHouseOwner`,`SFDrugHouseOwner`,`LVDrugHouseOwner`,`LSAirportOwner`,`SFAirportOwner`,`LVAirportOwner`,`YugoAirportOwner`)");
db_free_result(db_query(Database, Query));
return 1;
}