Raised This Month: $51 Target: $400
 12% 

prevent vip targeting


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
lugui
Senior Member
Join Date: Feb 2016
Location: GetClientAbsOrigin();
Old 05-02-2016 , 13:55   prevent vip targeting
Reply With Quote #1

Is there a way to prevent VIPs from targeting other players?

example : /friendly <non vip>
__________________
Add me for commissions!
Steam: [U:1:88621772]
Discord: lugui#0889
My Plugins
lugui is offline
Addicted.
AlliedModders Donor
Join Date: Dec 2013
Location: 0xA9D0DC
Old 05-03-2016 , 08:58   Re: prevent vip targeting
Reply With Quote #2

Check if the target has the VIP flag
Addicted. is offline
lugui
Senior Member
Join Date: Feb 2016
Location: GetClientAbsOrigin();
Old 05-03-2016 , 10:34   Re: prevent vip targeting
Reply With Quote #3

Quote:
Originally Posted by oaaron99 View Post
Check if the target has the VIP flag
no. I talking about vips using commands in non vips
__________________
Add me for commissions!
Steam: [U:1:88621772]
Discord: lugui#0889
My Plugins
lugui is offline
Wulfy
Senior Member
Join Date: Apr 2015
Location: Belgium
Old 05-04-2016 , 02:33   Re: prevent vip targeting
Reply With Quote #4

Quote:
Originally Posted by lugui View Post
no. I talking about vips using commands in non vips
I don't believe there is a way of doing this without changing the actual plugin.

I'm not great (I'm bad) at sourcepawn but if you post the plugin here (.SP file or URL to the plugin page), I can have a go.

PS: wrong forum, this should've been in the sourcemod section.
__________________
be happy
Wulfy is offline
Bacardi
Veteran Member
Join Date: Jan 2010
Location: mom's basement
Old 05-04-2016 , 04:43   Re: prevent vip targeting
Reply With Quote #5

...adding all public players in admin cache list and give only immunity level for them, higher or same level depends your SM immunity settings.
__________________
Do not Private Message @me
Bacardi is offline
lugui
Senior Member
Join Date: Feb 2016
Location: GetClientAbsOrigin();
Old 05-04-2016 , 11:31   Re: prevent vip targeting
Reply With Quote #6

Quote:
Originally Posted by Bacardi View Post
...adding all public players in admin cache list and give only immunity level for them, higher or same level depends your SM immunity settings.
how i do that?

I was looking for a plugin who does this.. but I didn't find....






//bad english, sory
__________________
Add me for commissions!
Steam: [U:1:88621772]
Discord: lugui#0889
My Plugins
lugui is offline
Bacardi
Veteran Member
Join Date: Jan 2010
Location: mom's basement
Old 05-04-2016 , 12:27   Re: prevent vip targeting
Reply With Quote #7

one way.
https://forums.alliedmods.net/showpo...18&postcount=7

but of course what @Wulfy already mention, better way would be edit those plugins.
It's up to you.
__________________
Do not Private Message @me

Last edited by Bacardi; 05-04-2016 at 12:28.
Bacardi is offline
lugui
Senior Member
Join Date: Feb 2016
Location: GetClientAbsOrigin();
Old 05-04-2016 , 12:35   Re: prevent vip targeting
Reply With Quote #8

Quote:
Originally Posted by Bacardi View Post
one way.
https://forums.alliedmods.net/showpo...18&postcount=7

but of course what @Wulfy already mention, better way would be edit those plugins.
It's up to you.
Thx Bacardi. It was exactly what I needed to learn. I had just opting (laziness) use only admin.ini, but now I use the groups as well is more organized.


Yes ,sure... but I new on sourcemod, and i don't know how to do that =/
__________________
Add me for commissions!
Steam: [U:1:88621772]
Discord: lugui#0889
My Plugins

Last edited by lugui; 05-04-2016 at 12:47.
lugui is offline
Bacardi
Veteran Member
Join Date: Jan 2010
Location: mom's basement
Old 05-04-2016 , 13:12   Re: prevent vip targeting
Reply With Quote #9

Yep, it's also much better use admins.cfg than admin_simple.ini to set admins.

Try that plugin if it helps. Depend other plugins how those have been written, you may get wierd problems. But shouldn't.
__________________
Do not Private Message @me
Bacardi 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 07:27.


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