Raised This Month: $ Target: $400
 0% 

[req] modification in grab+


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
sigerman
Senior Member
Join Date: Aug 2013
Location: Argentina, Bs.As.
Old 02-26-2017 , 20:36   [req] modification in grab+
Reply With Quote #1

This plugin is Grab Plus +
It's function is to move other players/entities. Info: https://forums.alliedmods.net/showthread.php?p=541797
This plugin is also already modificated, in this post there's info about It: https://forums.alliedmods.net/showthread.php?t=280885

What I want the plugin to do:
I want an/many specific admin that could touch everyone, but none could touch him
Configured with a flag

If you have questions let me know, I apreciate your interest in reading my ideas
Thanks
Attached Files
File Type: sma Get Plugin or Get Source (grab_plus_immunity.sma - 581 views - 22.0 KB)
sigerman is offline
Relaxing
AlliedModders Donor
Join Date: Jun 2016
Location: White Plains
Old 02-27-2017 , 04:02   Re: [req] modification in grab+
Reply With Quote #2

You have to check if a player has acces x and return PLUGIN_HANDLED; (to block that)
__________________
Relaxing is offline
sigerman
Senior Member
Join Date: Aug 2013
Location: Argentina, Bs.As.
Old 02-27-2017 , 18:56   Re: [req] modification in grab+
Reply With Quote #3

Sorry but I am ignorant at scripting

Seems I have to study how to script :A

Thanks for reading relaxing!

If someone is still interested in doing It, I am all ears

Last edited by sigerman; 02-27-2017 at 19:06.
sigerman is offline
Relaxing
AlliedModders Donor
Join Date: Jun 2016
Location: White Plains
Old 02-28-2017 , 03:34   Re: [req] modification in grab+
Reply With Quote #4

Just added
Code:
#define ADMIN_MAIN ADMIN_RCON
Code:
/* ... */     if ( get_user_flags(target) & ADMIN_MAIN )         return PLUGIN_HANDLED; /* ... */
__________________

Last edited by Relaxing; 03-14-2018 at 11:10.
Relaxing is offline
sigerman
Senior Member
Join Date: Aug 2013
Location: Argentina, Bs.As.
Old 03-04-2017 , 17:47   Re: [req] modification in grab+
Reply With Quote #5

Sorry for the delay, I've tested It and at least for me It didn't work

I think there's a conflict between the admins, I should be able to touch all the admins with the flag ADMIN_RCON (to touch all the admins that are not ADMIN_RCON)

Last edited by sigerman; 03-04-2017 at 18:16.
sigerman 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 13:41.


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