Dreter 0 Report post Posted April 14, 2016 hi guys i have put this function in my server ----------- if (DoubleExp == true) then EXP_RAID = 20 -- Rates x2 MF_RAID = 30 TeamExp_RAID = 30 else EXP_RAID = 10 -- Real rates MF_RAID = 15 TeamExp_RAID = 15 end ----------- add it at end of variable.lua : DoubleExp = false And it works good but i want to put it with that only weekends x2 is on and i have found this function local Now_Week = GetNowWeek () if Now_Week == 6 or Now_Week == 7 then EXP_RAID = 6 MF_RAID = 20 Resource_RAID_ADJUST = 20 TeamExp_RAID = 10 ELEEXP_GETRAD = 500 else EXP_RAID = 3 MF_RAID = 10 Resource_RAID_ADJUST = 10 TeamExp_RAID = 5 ELEEXP_GETRAD = 250 end it's the same? i need to put it in functions.lua -> cha_timer? And how to add that system tell to players that x2 exp and drop it's on? and the duration is the satudary and sunday? it will be like this? if math.mod(now_tick,120) == 0 and now_tick >0 then BickerNotice(role,"Double Exp and Drop it's on duration saturday and sunday at 00:00 of sunday double exp off! ENJOY :)!!") but where tu put all this? Hope some can help me thank's In advance Quote Share this post Link to post Share on other sites
Lucky 65 Report post Posted April 14, 2016 (edited) Edited April 14, 2016 by Lucky Quote Share this post Link to post Share on other sites