Raised This Month: $32 Target: $400
 8% 

[REQUEST] Random VIP (as_maps)


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
MAJESTIC_SZ
Senior Member
Join Date: Mar 2020
Location: Portugal
Old 03-09-2021 , 19:27   [REQUEST] Random VIP (as_maps)
Reply With Quote #1

Hello community.

Is it possible to create a simple plugin to make VIP random on as_ maps?
Currently we are playing as_ maps on our cs 1.6 server, but the VIP is fixed to one player.
Even if he gets killed he will be VIP again.

Can someone make it random please?

Thank you in advance!
MAJESTIC_SZ is offline
MAJESTIC_SZ
Senior Member
Join Date: Mar 2020
Location: Portugal
Old 04-30-2021 , 13:08   Re: [REQUEST] Random VIP (as_maps)
Reply With Quote #2

Someone? Please?
Does anyone play AS maps?

Someone posted this as part of the solution, but i dont know how to script.
I searched everywhere and found nothing.

Please help, Assassination maps are awesome but random vip player is needed.

Last edited by MAJESTIC_SZ; 04-30-2021 at 13:30.
MAJESTIC_SZ is offline
killer999
Senior Member
Join Date: Dec 2013
Location: India
Old 05-01-2021 , 08:43   Re: [REQUEST] Random VIP (as_maps)
Reply With Quote #3

i found this you just have to type /vipmode then vip will be choosen randomly
Attached Files
File Type: sma Get Plugin or Get Source (vip.sma - 135 views - 9.7 KB)
__________________
killer999 is offline
Send a message via Skype™ to killer999
MAJESTIC_SZ
Senior Member
Join Date: Mar 2020
Location: Portugal
Old 05-01-2021 , 12:17   Re: [REQUEST] Random VIP (as_maps)
Reply With Quote #4

Thanks for your reply.
Is there a way of making it auto when switching to as_ maps?
Im thinking about making an auto exec command on map change using amxx but i cant remember anything...
MAJESTIC_SZ is offline
MAJESTIC_SZ
Senior Member
Join Date: Mar 2020
Location: Portugal
Old 05-01-2021 , 13:42   Re: [REQUEST] Random VIP (as_maps)
Reply With Quote #5

Well, this still doesnt work. Im using amx 1.9.
I type /vipmode, it says it turns to vip mode bla bla bla, but the vip stays stuck in the same player.
MAJESTIC_SZ is offline
MAJESTIC_SZ
Senior Member
Join Date: Mar 2020
Location: Portugal
Old 05-04-2021 , 18:14   Re: [REQUEST] Random VIP (as_maps)
Reply With Quote #6

Someone? Please?
Is this that hard to do?
MAJESTIC_SZ is offline
HamletEagle
AMX Mod X Plugin Approver
Join Date: Sep 2013
Location: Romania
Old 05-05-2021 , 03:48   Re: [REQUEST] Random VIP (as_maps)
Reply With Quote #7

If someone wants to do this: you have to set m_iConsecutiveVIP gamerules offset to 3 or higher to trick PickNextVIP into thinking the current vip was vip in 3 or more rounds and force it to choose a new one.
You can try to hook HLTV event and set the offset to 3. If this doesn't work try hooking the original PickNextVIP call, supercede, set the offset and manually call the function again.

If using HLTV works then you need either orpheu to set the gamerules offset or amxx 1.9+
If using HLTV doesn't work then you need orpheu either way to hook/call PickNextVIP.

(yes, I know this is not scripting help, I am explaining how it can be done in case someone wants to help OP and do it following my explanation)
__________________

Last edited by HamletEagle; 05-05-2021 at 03:49.
HamletEagle is offline
MAJESTIC_SZ
Senior Member
Join Date: Mar 2020
Location: Portugal
Old 05-05-2021 , 08:44   Re: [REQUEST] Random VIP (as_maps)
Reply With Quote #8

Thank you a lot for your answer.
Let me tell to who wants to help that i use REHLDS , so, Orpheu wont work. I read it somewhere.
MAJESTIC_SZ is offline
MAJESTIC_SZ
Senior Member
Join Date: Mar 2020
Location: Portugal
Old 05-21-2021 , 17:27   Re: [REQUEST] Random VIP (as_maps)
Reply With Quote #9

Hello? Someone please?
MAJESTIC_SZ is offline
MAJESTIC_SZ
Senior Member
Join Date: Mar 2020
Location: Portugal
Old 05-29-2021 , 18:00   Re: [REQUEST] Random VIP (as_maps)
Reply With Quote #10

Escuse me but can someone help?
I see people answering and doing plugins on other requests, i guess mine is just too hard to do...
2 months passed and nothing...
Thanks anyway...
MAJESTIC_SZ 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 04:24.


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