[HELP] NAME OF THE DAY!!!!
Hello Ams !
I'm using a FFA Plugin And i want have the Name of the day It's working perfectly, But after the Day Sunday finish, i don't have the day Monday again. I use this: Quote:
Quote:
|
Re: [HELP] NAME OF THE DAY!!!!
the week starts with sunday, you didnīt know?
|
Re: [HELP] NAME OF THE DAY!!!!
Quote:
Also for your plugin, not sure and not very good at scripting but couldnt it be. Code:
player_hudmessage(0, 5, HUD_DELAY + 1.0, {0, 0, 255}, "%L", LANG_SERVER, "FFA_STATUS_DAY", g_Days [g_FFADay]) |
Re: [HELP] NAME OF THE DAY!!!!
ok, sorry
|
Re: [HELP] NAME OF THE DAY!!!!
|
Re: [HELP] NAME OF THE DAY!!!!
hes probably spanish and it starts on monday
and http://forums.alliedmods.net/showthread.php?t=170929 |
Re: [HELP] NAME OF THE DAY!!!!
eskemo, you can't check g_Days == 8, it's an array.
You need to add g_FFADays++ after that...or you should add here PHP Code:
PHP Code:
PHP Code:
|
Re: [HELP] NAME OF THE DAY!!!!
When you increment g_FFADay, if it is larger than the size you should reset it.
Code:
g_FFADay++Code:
g_FFADay = ( g_FFADay + 1 ) % sizeof g_Days; |
Re: [HELP] NAME OF THE DAY!!!!
[quote=Emp`;1587395]
Code:
g_FFADay++It's works 100%! Please, can you help here now: https://forums.alliedmods.net/showthread.php?t=171028 |
| All times are GMT -4. The time now is 14:20. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.