Problem Achievements
#1

We have created a system of achievements, all well and good, goes perfectly I have no error or warning, but when I get on the server and make achievement gives me all you have, but after making relog can to recover whenever I want, not saved that being done by giving relog.
Reply
#2

Can you show us your functions which by you save and load it?
Reply
#3

you need to make a folder on scriptfiles that will save all the info about the player's Achievements.
Try to ask others how to do it.
Reply
#4

Quote:
Originally Posted by darkhunter332
Посмотреть сообщение
you need to make a folder on scriptfiles that will save all the info about the player's Achievements.
Try to ask others how to do it.
If he use MySQL he needn't create a folder in scriptfiles. When he use MySQL he has a databank.
Reply
#5

pInfo - pAchievement0 up to pAchievement20

and are all OnPlayerLogin/Register/Login...
Reply
#6

UP ?!?!?!
Reply
#7

Quote:
Originally Posted by Mititel
Посмотреть сообщение
UP ?!?!?!
UP AGAIN.. !?
Reply
#8

When you are asking something, you should at least take time to explain it well, and trying to writing it with an understandable grammar, because right now i can't understand this:
Quote:

gives me all you have, but after making relog can to recover whenever I want, not saved that being done by giving relog.

I've try to understand this, and i guess you mean: "when you login and win an achievement, you get all the possible achivements, but when you reconnect, all the achievements disapear, is that right ?" If not tell me what's wrong on what i said

Also, you could post the code you are using to set the achivement, and when you save and load it , because with no code we can not help you
Reply
#9

Yes it is ! Every time I can do that achievement reconnect as many times as I reconnect.


It is defined from 0 to 20
Код:
pAchievement0 to pAchievement20
Code:
Код:
if (PlayerInfo[playerid][pAchievement0] == 0)
                    {
                    ShowPlayerDialog(playerid,516,DIALOG_STYLE_MSGBOX,"Achievements:\n TEST (0)","TEST","Okay","Cancel");
                    GivePlayerCash(playerid, 5000);
                    PlayerInfo[playerid][pAchievement0] = 1;
                    }
Reply
#10

UP!?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)