- 0
Problema Resetare Quests
-
Similar Content
-
Recently Browsing 0 members
- No registered users viewing this page.
We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.
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