- 0
Problema Resetare Quests
-
Similar Content
-
- 2 answers
- 208 views
-
Problema turf
By Soryn.,
- 3 answers
- 290 views
-
- 1 reply
- 185 views
-
- 9 replies
- 100 views
-
Problema
By ImJustSlim,
- 3 answers
- 288 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!
Link to comment
Share on other sites
10 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.