File saving
#1

Hey guys.
I've been working on this filterscript for donators & if I reset the server or relog everything loads fine.
When I close my samp-server application then open it & connect. The "Donation Level:[%d]" isn't loading.
(I made /donate as a stock command just to test if /minigun was working.)
http://adepto.pastebin.com/m29df0fa0
Reply
#2

* Abernethy sneezes.
Oh. Excuse me.
Reply
#3

Yeah, Seif's reg and log tutorial doesn't work. I've tested it, use the "using dudb to save money/stats/whatever" tut. It works well..

No need to use playerinfo but if you want...

pawn Код:
stock GivePlayerLevel(playerid, level)
{
    PlayerInfo[playerid][pLevel] = PlayerInfo[playerid][pLevel] + level;
    return PlayerInfo[playerid][pWanted];
}

stock GetPlayerLevel(playerid)
{
    return PlayerInfo[playerid][pLevel];
}
Most credits to maker of PCash, the rest is me.
Reply
#4

If I add that, will it work alright pal?
Reply
#5

Yeah i use that to save wanted players and muted players.
Reply
#6

Ok, this isn't working.
Know any other ways of making a it?
Reply
#7

'You can bump topics when the last reply is at least 12 hours old.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)