This site is a testing version, but all data is shared with the live forum.


Raised This Month: $ Target: $400
 0% 

[ REQUEST ] Plugin Happy Hour


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
endlessx
Junior Member
Join Date: Sep 2023
Old 11-13-2023 , 12:15   [ REQUEST ] Plugin Happy Hour
Reply With Quote #1

I need a plugin like Happy Hour :


Within a time interval, all players should receive the Y flag

The "Y" flag is vip


the time for the vip to be activated is in 2 parts

23:00 - 02:00
and
12:00 - 16:00

I need this with message when Happy hour start ( HUD MESSAGE -5seconds)

Happy Hour has started , It will be end at [and here endevent(02:00/16:00)]

And when Happy Hour stop ( HUD MESSAGE - 5seconds)

Happy Hour has ended , See you next time !

Thanx!
endlessx is offline
bigdaddy424
Senior Member
Join Date: Oct 2021
Location: Jupiter
Old 11-13-2023 , 14:22   Re: [ REQUEST ] Plugin Happy Hour
Reply With Quote #2

not my work
PHP Code:
bool:HappyHours(iStartiEnd){ 
    new 
iHourtime(iHour); 
    return 
bool:(iStart iEnd ? (iStart <= iHour iEnd) : (iStart <= iHour || iHour iEnd)) ;

__________________
bigdaddy424 is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 19:05.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode