Free VIP code.
What's up with this? It does give flag i want, but not on time i want: (should be 21:00 at night 'till 09:00 morning). U guys know what's the problem? Here's code:
Code:
public Spawn(id) |
Re: Free VIP code.
Who wrote this? I'm not sure if these parts are correct...
Code:
Code:
Also, this could be optimized a lot. |
Re: Free VIP code.
I don't know coding, can anyone fix this for me please?
|
Re: Free VIP code.
I'll just wait till someone else wanna give his opinion about this.
|
Re: Free VIP code.
1 Attachment(s)
Credits to OciXCrom for his IsVipHour bool stock.
PHP Code:
|
Re: Free VIP code.
hmmmmm, switch these 2 lines:
PHP Code:
PHP Code:
|
Re: Free VIP code.
And next time please post in Scripting Help, this is not where to ask for such help
|
Re: Free VIP code.
Quote:
Quote:
Overall, i tried doing something over the code, still no use. Giving me ADMIN_LEVEL_C when it's not time for it. PHP Code:
|
Re: Free VIP code.
Check if your server time is the same as your local time. (Print hour and see if it's correct, if not fix it from the code)
|
Re: Free VIP code.
Hmm, and how do i see it? I can check my server's time by writing thetime.
You mean, nothing's wrong with the code above? It shows time i want, no free VIP after 09:00 morning. Let's repeat: Free VIP starts at 21:00PM (at night) Free VIP ends at 09:00AM (morning) And repeats, so 10:00 AM,11,12,13,14,15,16,17,18,19 and 20:00 AM shouldn't be free VIP. I disabled default access z in amxx.cfg. |
All times are GMT -4. The time now is 04:54. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.