[DELETED]
#9

lol what are you talking about? There saved in an array of strings to a file that is named to your nickname. When you connect it will check if your filename (stats-<EncodedNickName>). It saves to file...how can it not be permanant? They are not saved to your ID, if you pay closer attention to the code.

pawn Код:
if(fexist(encode(PlayerName(playerid))))
    {
    SendClientMessage(playerid, COLOR_YELLOW, "<SSU v1.1> Stats Restored!");
    //Restore Stats.....
I have tested it completely and it works fine.

However yes i must of typed playerid accidentally instead of idplayer. Easily fixed. UPDATED!

Now the reason why i made it so it doesnt update the Score board is regular players will have scores very high and i thought the majority would rather the GameScore be for each individual session. And of course for compatability for "MoneyGrub" modes that display money as score.

Also i expected that people would use Set/Get Property instead of using the stats commands i set up. I just set it up as a basic fall back if people didnt want to create there own.
Reply


Messages In This Thread
[DELETED] - by [BDC]Scarface - 06.11.2006, 09:17
Re: [FS] SSU: Stats Saving Utility v1.0 - by Betamaster - 06.11.2006, 10:11
Re: [FS] SSU: Stats Saving Utility v1.0 - by Sacky - 06.11.2006, 10:22
Re: [FS] SSU: Stats Saving Utility v1.0 - by [BDC]Scarface - 06.11.2006, 11:13
Re: [FS] SSU: Stats Saving Utility v1.0 - by [BDC]Scarface - 06.11.2006, 11:48
Re: [FS] SSU: Stats Saving Utility v1.1 - by whatup - 17.11.2006, 22:56
Re: [FS] SSU: Stats Saving Utility v1.1 - by Betamaster - 17.11.2006, 23:12
Re: [FS] SSU: Stats Saving Utility v1.1 - by whatup - 18.11.2006, 04:14
Re: [FS] SSU: Stats Saving Utility v1.1 - by [BDC]Scarface - 18.11.2006, 05:21
Re: [FS] SSU: Stats Saving Utility v1.1 - by whatup - 18.11.2006, 13:17
Re: [FS] SSU: Stats Saving Utility v1.1 - by [BDC]Scarface - 19.11.2006, 03:49
Re: [FS] SSU: Stats Saving Utility v1.1 - by XxXcjmyndeXxX - 15.12.2007, 21:48
Re: [FS] SSU: Stats Saving Utility v1.1 - by darkwatch - 16.12.2007, 00:52
Re: [FS] SSU: Stats Saving Utility v1.1 - by snipe69 - 16.12.2007, 01:48
Re: [FS] SSU: Stats Saving Utility v1.1 - by XxXcjmyndeXxX - 16.12.2007, 07:36
Re: [FS] SSU: Stats Saving Utility v1.1 - by GAMEOV3R - 18.12.2007, 23:34
Re: [FS] SSU: Stats Saving Utility v1.1 - by snipe69 - 18.12.2007, 23:47
Re: [FS] SSU: Stats Saving Utility v1.1 - by GAMEOV3R - 18.12.2007, 23:52
Re: [FS] SSU: Stats Saving Utility v1.1 - by Alejandro - 19.12.2007, 00:13
Re: [FS] SSU: Stats Saving Utility v1.1 - by Curynga - 19.12.2007, 01:34
Re: [FS] SSU: Stats Saving Utility v1.1 - by GAMEOV3R - 19.12.2007, 11:50
Re: [FS] SSU: Stats Saving Utility v1.1 - by Toffy - 28.02.2008, 15:40
Re: [FS] SSU: Stats Saving Utility v1.1 - by Jamould - 15.09.2008, 16:45
Re: [FS] SSU: Stats Saving Utility v1.1 - by akshay.crystal - 19.09.2008, 11:09
Re: [FS] SSU: Stats Saving Utility v1.1 - by akshay.crystal - 26.09.2008, 12:11
Re: [FS] SSU: Stats Saving Utility v1.1 - by jannka23 - 09.10.2008, 09:15
Re: [FS] SSU: Stats Saving Utility v1.1 - by Zachi_M - 11.10.2008, 17:45
Re: [FS] SSU: Stats Saving Utility v1.1 - by UnknownScripting - 14.12.2008, 15:17
Re: [FS] SSU: Stats Saving Utility v1.1 - by Tomek5217 - 07.05.2009, 17:45
Re: [FS] SSU: Stats Saving Utility v1.1 - by musti0828 - 29.06.2009, 07:27
Re: [FS] SSU: Stats Saving Utility v1.1 - by musti0828 - 01.07.2009, 06:48
Re: [FS] SSU: Stats Saving Utility v1.1 - by Ignas1337 - 01.07.2009, 07:21
Re: [FS] SSU: Stats Saving Utility v1.1 - by smallo - 01.07.2009, 10:06

Forum Jump:


Users browsing this thread: 1 Guest(s)