- 0
Problema Resetare Quests
-
Similar Content
-
- 7 answers
- 2,249 views
-
- 3 answers
- 2,204 views
-
- 3 replies
- 295 views
-
- 1 reply
- 253 views
-
- 1 answer
- 681 views
-
-
Recently Browsing 0 members
- No registered users viewing this page.
Question
StefanAdv
Am o problema cu resetarea vreau sa se reseteze la toti playeri chiar daca nu sunt online ca daca is merge am testat si cu alta ora si cu verificare daca e connectat / logat si fara si tot la fel e eu vreau si daca nu is logati cum pot face asta?
if(hour == 0) {
foreach(Player, i) {
if(IsPlayerConnected(i) && gPlayerLogged == 1)
{
PlayerInfo[pQuestZ] = 0;
PlayerInfo[pQuestZ2] = 0;
PlayerInfo[pQuestZProgres] = 0;
PlayerInfo[pQuestZProgres2] = 0;
Update(i,pQuestZx);
Update(i,pQuestZ2x);
Update(i,pQuestZProgresx);
Update(i,pQuestZProgres2x);
GiveQuest(i);
GiveQuest2(i);
SendClientMessageToAll(COLOR_YELLOW, "(Quests) {FFFFFF}Misiunile au fost resetate cu succes, tastati comanda /quests pentru a vedea ce misiuni a-ti primit!");
}
}
}
PS:Am incecat si fara verficarile daca e logat / connectat si tot la fel!
PS: Functia este pusa la SyncUp folosesc gm gen bigzone!
10 answers to this question
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now