Need Help :(
#1

Hi i am making an rpg server and i want to know how i make a user stats like this:


Key=Something
Level=25
Spawn=0
TesterLevel=0
HelperLevel=0
AdminLevel=1338
RegularRank=0
UpgradePoints=0
ConnectedTime=38219
Registered=1
Sex=1
Age=13
GPS=1
Origin=2
CK=0
Muted=0
Frozen=0
Blind=0
Respect=12
Money=10715139
Bank=61473
Crimes=11
CrimeReason=None
Wanted=0
WantedLevel=8
Kills=-3
Deaths=7
WhyLeft=76
Arrested=0
WantedDeaths=2
Phonebook=0
LottoNr=0
Fishes=0
BiggestFish=0
Job=0
Paycheck=6325
HeadValue=0
Jailed=0
JailTime=0
CanRobTime=0
Materials=1
Drugs=1
Leader=5
Member=0
FMember=255
Rank=6
Char=175
ContractTime=0
DetSkill=0
SexSkill=0
BoxSkill=0
LawSkill=0
MechSkill=0
JackSkill=0
CarSkill=0
NewsSkill=0
DrugsSkill=0
CookSkill=0
FishSkill=0
pSHealth=0.0
pHealth=97.0
pArmour=0.0
Int=0
InteriorNr=0
Local=255
Team=15
Model=7
PhoneNr=871686
Car=1277
Car2=0
House=611
Bizz=255
Pos_x=1326.0
Pos_y=-643.5
Pos_z=114.6
Passport=1
CarLic=1
FlyLic=1
BoatLic=1
FishLic=0
GunLic=1
CopLic=0
CarTime=0
PayDay=1
PayDayHad=0
Watch=1
Crashed=0
Wins=0
Loses=0
AlcoholPerk=0
DrugPerk=0
MiserPerk=0
PainPerk=0
TraderPerk=0
Tutorial=1
VirWorld=0
Fuel=0
Married=0
MarriedTo=No-one
FishTool=0
WhyLeft=Leaving
Note1=None
Note1s=0
Note2=None
Note2s=0
Note3=None
Note3s=0
Note4=None
Note4s=0
Note5=None
Note5s=0
InvWeapon=0
InvAmmo=0
InvWeapon2=0
InvAmmo2=0
InvWeapon3=0
InvAmmo3=0
InvWeapon4=0
InvAmmo4=0
InvWeapon5=0
InvAmmo5=0
InvWeapon6=0
InvAmmo6=0
Lighter=26
Cigarettes=19
Warnings=0
Swat=0
Fighting=0
Boxing=0
KneeHead=0
KungFu=0
GrabKick=0
Elbow=0
Tactical=0
SpecialF=0
DutyBanned=0
DDManager=0
On‌Duty=0
DDTicket=0
DDSTicket=0
CDPlayer=0
Speedo=2
HydraDriver=0
HunterDriver=0
RhinoDriver=0
PredatorDriver=0
ViewPms=0
AppearList=0
AmmunationTime=0
PistolSkill=0
SilencedSkill=0
DesertSkill=54
ShotgunSkill=0
SawnoffSkill=0
CombatSkill=0
UziSkill=0
SMGSkill=0
AK47Skill=0
M4Skill=0
SniperSkill=0
TutorialDone=20
RegularCount=105290
PassportTime=0
OfficerTime=0
Achievement0=0
Achievement1=0
Achievement2=0
Achievement3=0
Achievement4=0
Achievement5=1
Achievement6=1
Achievement7=0
Achievement8=0
Achievement9=0
Achievement10=0
Achievement11=0
Achievement12=0
Achievement13=1
Achievement14=0
Achievement15=0
Achievement16=1
Achievement17=0
Achievement18=1
Achievement19=1
Achievement20=0
ShiftName=0
Weapon=0
Ammo=0
Weapon2=0
Ammo2=0
Weapon3=0
Ammo3=0
Weapon4=0
Ammo4=0
Weapon5=0
Ammo5=0
Weapon6=0
Ammo6=0
Weapon7=0
Ammo7=0
Weapon8=0
Ammo8=0
Weapon9=0
Ammo9=0
Weapon10=0
Ammo10=0
Weapon11=0
Ammo11=0
Weapon12=0
Atc=0
AtcRadio=0
Pending=0
PendingInfo=
ChatMode=0
Punishment1=(8/10/2010)[19:21:46] Warned by Anticheat - Reason: Driver drive-by kill.
Punishment2=(9/10/2010)[15:46:26] Jailed by BinqoBoy - Reason: None - Time: 0 Mins.
Punishment3=(9/10/2010)[15:46:34] Jailed by BinqoBoy - Reason: None - Time: 0 Mins.
Punishment4=(9/10/2010)[16:40:24] Jailed by BinqoBoy - Reason: None - Time: 0 Mins.
Punishment5=(9/10/2010)[17:34:36] Killed by Mathiashhg.
Punishment6=(9/10/2010)[19:55:59] Jailed by Mathiashhg - Reason: None - Time: 0 Mins.
Punishment7=None
Punishment8=None
NextPunishment=7
PunishedTimes=0
TazerBullets=20
LastSeen=9/10/2010 at 21:11:21
RegistredDate=8/10/2010 at 15:46:7
Changed=0

I took this from raven's roleplay gm but i really need help with it
Reply
#2

Using dini system...

for more info look here: http://forum.sa-mp.com/showthread.ph...highlight=dini
Reply
#3

Another way to do this is with Mysql, although the example you are showing is dini (Exactly what alex_valde said)
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)