[HELP] Config .ini file (OFFLINE)
#1

Hello SA-MP forums,

I have a server running with DINI, not MySQL.
Can I edit the stats of a player, when he is offline, with a command?

The INI file looks like this:
Код:
Key=test
Level=8
AdminLevel=2000
Supporter=0
Audoradio=1
DonateRank=2
UpgradePoints=0
ConnectedTime=1
Registered=1
Sex=1
Age=37
Origin=1
CK=0
Muted=0
Respect=1
Money=100572226
Bank=1715752191
Kredit=0
KreditDauer=0
Crimes=0
Kills=1337
Deaths=0
Arrested=0
WantedDeaths=0
Phonebook=0
LottoNr=0
Fishes=0
BiggestFish=0
Job=0
Paycheck=1244
HeadValue=0
Jailed=0
GangJailed=0
wJailed=0
Mauled=0
JailTime=0
Materials=0
Drugs=0
BoxMaterials=2189691
BoxDrugs=5189691
FightingStyle=4
Leader=9
Member=0
FMember=255
Rank=6
Char=185
ContractTime=0
DetSkill=5
SexSkill=0
BoxSkill=0
LawSkill=0
MechSkill=0
JackSkill=0
CarSkill=0
NewsSkill=6
DrugsSkill=0
CookSkill=0
FishSkill=0
pSHealth=100.0
pHealth=94.0
Int=0
Local=255
Team=0
Model=187
PhoneNr=310
House=200
Bizz=255
HandyGeld=5
HandyVer=0
Pos_x=2246.6
Pos_y=-1161.9
Pos_z=1029.5
CarLic=1
NewLic=0
FlyLic=1
BoatLic=1
FishLic=1
GunLic=1
LKWLic=1
RollerLic=1
MotoLic=1
Zig=3203
Kekse=32
ZigSucht=0
Gun1=0
Gun2=0
Gun3=0
Gun4=0
Ammo1=0
Ammo2=0
Ammo3=0
Ammo4=0
CarTime=0
Mulltime=0
PayDay=0
PayDayHad=1
CDPlayer=0
Wins=0
Loses=0
AlcoholPerk=0
DrugPerk=0
MiserPerk=0
PainPerk=0
TraderPerk=0
Tutorial=1
Warnings=0
Adjustable=1
Fuel=0
Married=0
MarriedTo=No-one
SpawnChange=0
WantedLevel=0
WantedPoints=0
PlayMinutes=21
GesamtMinutes=81
MinutesSinceAn=81
SFPASS=0
LVPASS=0
Offflucht=0
Knast=0
Uhr=0
Handy=0
KnastTime=0
Perso=1
FrakSperre=0
Gehalt=60000
InvWeapon=0
InvAmmo=0
InvWeapon2=0
InvAmmo2=0
InvMats=5000
InvDrugs=5000
FlugTime=0
FarmTime=0
GDeaths=0
GKills=0
Meldung=0
Punkte=0
Thanks in advance!
Reply
#2

Yes you can.

Usually the name of the .ini file is the player name's. Simply use /command [PlayerName] and browse to the player name's file then edit it like he would be connected.
Reply
#3

Can you post an example for /offban?
If the value from supporter is 1, he is banned.

Thanks in advance.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)