Help! Permanent Score
#1

Dear all

my experience with "Pawn" is not very wide,
I have an idea but not how to achieve it
and I would like to support me in this,
my server keeps track of the number
of times someone kills another, but only show
in the table the score,
the number of times someone has killed
others during the active session

I want to read the line of the file where is saved
the numbers of deaths and displayed
on the score of the game,
so that a player will never lose their score

I give an example of my data stored
on the user folder of Ladmin

Thanks very much for your help

password_hash=xxxxxxxxxxxxxxxxx
ip=xxxxxxxxxxxxxx
registered=1
RegisteredDate=6/3/2011
loggedin=0
banned=0
level=5
LastOn=27.3.2011
money=6101710
kills=302 <<<<<<<<<<<<<<<< i want read this line
deaths=76
Bank=30688624
weed=0
Gang=1
Condoms=0
inalcatraz=0
hours=14
minutes=27
seconds=52
x1=-1333
y1=-241
z1=14
interior1=0
weap1=24
weap1ammo=100
weap2=25
weap2ammo=80
weap3=32
weap3ammo=600
weap4=0
weap4ammo=0
weap5=0
weap5ammo=0
weap6=0
weap6ammo=0
health=98
armour=100
TimesOnServer=8039
bowner=1
bowned=43
vowned=531
vowner=1
vowned2=1030
vowner2=1
vowned3=394
vowner3=1
vowned4=264
vowner4=1
vowned5=1064
vowner5=1
vowned6=396
vowner6=1
vowned7=1501
vowner7=1
vowned8=461
vowner8=1
vowned9=1676
vowner9=1
vowned10=1442
vowner10=1
vowned11=1441
vowner11=1
vowned12=1610
vowner12=1
vowned13=1051
vowner13=1
vowned14=337
vowner14=1
vowned15=289
vowner15=1
Houseid=1701
Rentid=-255
SpawnX=-892.319335
SpawnY=638.368957
SpawnZ=3.695348
SpawnInt=0
UseSkin=0
FavSkin=280
Locked=1
Reply
#2

there should be an functionin ladmin to read ini values,
then after you read it, you do SetPlayerScore.
If you need more help just ask ;P
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)