AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Suggestions / Requests (https://forums.alliedmods.net/forumdisplay.php?f=12)
-   -   [Request For Plugin] BaseBuilder (https://forums.alliedmods.net/showthread.php?t=332845)

Smex 06-04-2021 10:46

[Request For Plugin] BaseBuilder
 
Hello, i am here looking for Free VIP Event from 19h - 00h

with prefix in chat [FREEVIP]

Supremache 06-04-2021 17:03

Re: [Request For Plugin] BaseBuilder
 
1 Attachment(s)
Quote:

Originally Posted by Smex (Post 2748841)
Hello, i am here looking for Free VIP Event from 19h - 00h

with prefix in chat [FREEVIP]

New plugin..
Options :
1. Event free vip
2. Free vip prefix
3. Cosole command for strat event "amx_start_event" access ADMIN_RCON
You dont need to use natives for adding chat system to other plugins it will work with any chat system plugin :wink:

PHP Code:

#define VIP_FLAG ADMIN_LEVEL_H
#define START_EVENT_FLAG ADMIN_RCON
new const g_szTags[] = "[Free VIP]"
g_pCvarEnableHappyHours register_cvar("enable_happy_hours""1")
g_pCvarHappyHours register_cvar("vip_happy_hours""19-00")
register_concmd("amx_start_event""cStartHappyHour"


Smex 06-04-2021 18:14

Re: [Request For Plugin] BaseBuilder
 
I forgot to say the flag for vip is T

Supremache 06-04-2021 18:23

Re: [Request For Plugin] BaseBuilder
 
Quote:

Originally Posted by Smex (Post 2748886)
I forgot to say the flag for vip is T

I already added it

PHP Code:

#define VIP_FLAG ADMIN_LEVEL_H // flag t 


Smex 06-04-2021 18:23

Re: [Request For Plugin] BaseBuilder
 
I don't think this plugin works.

Supremache 06-04-2021 18:30

Re: [Request For Plugin] BaseBuilder
 
Quote:

Originally Posted by Smex (Post 2748886)
I forgot to say the flag for vip is T

if you can't compile it then you need to colorchat.ini file, but if you did and still doesn't work then wait for help for others

P.S: I tested it and it's working perfectly :wink:

Smex 06-04-2021 18:36

Re: [Request For Plugin] BaseBuilder
 
Is it possible to add a command for owners only to start vip event?

Supremache 06-04-2021 18:46

Re: [Request For Plugin] BaseBuilder
 
Quote:

Originally Posted by Smex (Post 2748895)
Is it possible to add a command for owners only to start vip event?

Do you mean cvar enable_happy_hours?

Smex 06-04-2021 18:49

Re: [Request For Plugin] BaseBuilder
 
Oh, i was wondering why it wasn't giving everyone vip..

Supremache 06-04-2021 18:53

Re: [Request For Plugin] BaseBuilder
 
Quote:

Originally Posted by Smex (Post 2748898)
Oh, i was wondering why it wasn't giving everyone vip..

Yes it give everyone doesn't have that access free vip at from/to "19-00"


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

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