SA-MP Forums Archive
[FilterScript] Stats Saver V0.1b - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Filterscripts (https://sampforum.blast.hk/forumdisplay.php?fid=17)
+--- Thread: [FilterScript] Stats Saver V0.1b (/showthread.php?tid=250665)



Stats Saver V0.1c - added anti cheat! - sciman001 - 24.04.2011

STATS SAVER
Hi all. I am sure that you at least at one point have been looking for a fs that saves and loads a players stats reliably and without a /login or /register. Well, if that sounds like you, then this is for you! This fs saves the players name, ip, date and time joined, score, cash, kills, and deaths.

FEATURES:
Dini
Anti-Cheat
/stats command

HEHE.. Not many features... yet. Anyway, heres the format of the user file:

Код:
NAME=name
IP=192.168.1.1
REGGED=2011:4:24 - 16:4:36
KILLZ=5
DEATHZ=33
CASH=53
SCORE=22
Those values were just examples. HEHE. To change the user file directory, open the .pwn and change this:
pawn Код:
#define USERFILE "Users/%s.ini"
Kind of self explanitory. Heres a link!!!
http://solidfiles.com/d/02889/ - VERSION 0.1c

0.1c features:
/stats command
Bug fix
Added code.
Added anti-cheat

INSTALLATION:

1. Open server.cfg. Next to filterscrips, add stats. Save and close server.cfg.
2. Create a folder in scriptfiles called Users.
3. DONE!

Anti-Cheats:

Anti-Minigun
Anti-JetPack
Anti-Weapon In Interior

Configuration:

Open the .pwn file. Find these lines:
pawn Код:
#define am 1
#define awii 1
#define ajp 1
am = anti-minigun
awii = anti-weapon in interior
ajp = anti-jetpack

1 == on
0 == off

Compile the code when done.

CREDITS:

sciman001 - Script
DracoBlue - Dini

PLEASE LEAVE COMMENTS!!! THANKS FOR UR TIME!



Re: Stats Saver V0.1b - Abinesh™ - 24.04.2011

pretty gud


Re: Stats Saver V0.1b - sciman001 - 24.04.2011

thanks. u maybe rate it? ex. 0-10... make sure that ur rating version 0.1c! But again, thanks for the first reply.


Re: Stats Saver V0.1b - Jantjuh - 16.07.2011

I'm sorry for this huge bumb, but I did it with deliberately. This script is very nice, because you don't need to /register and /login. That why I think you deserve more comments and that's why I bumb this.
ow, there is no /stats command though :P

Good, nice and simple script,

-J


Re: Stats Saver V0.1b - Kostas' - 24.09.2011

Nice one but the /stats doesn't work.
How can i do it to works?


Re: Stats Saver V0.1b - sciman001 - 24.10.2011

idk wut went wrong.. but i lost all my files, and solidfiles is down so ima hav 2 start all my projects from scratch. also, this thing is kind of... not good cuz if u play on 2 pc's it will kick u... since it uses ip... so.. yea. but.. anyway.. yea.


Re: Stats Saver V0.1b - Alexy_Dramon - 04.03.2012

wow thanks man that what i need for my DM server thanks!


Re: Stats Saver V0.1b - Test23 - 04.03.2012

Good job


Re: Stats Saver V0.1b - mickos - 06.05.2012

good job nice