AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Plugins (https://forums.alliedmods.net/forumdisplay.php?f=108)
-   -   [CS:GO] ESK0's JailBreak Warden (https://forums.alliedmods.net/showthread.php?t=278136)

ESK0 01-25-2016 09:41

[CS:GO] ESK0's JailBreak Warden
 
PLUGIN IS NOT 100% TESTED, BUT COMPILED WITHOUT ANY ERRORS. IF SOMETHING DOESNT WORK PROPERLY LET ME KNOW IN COMMENTS

Hello Guys,

Warden plugins allows your players to take control over the prisoner for a round.

Translations will comes in the future. At this moment its in English Language.. but my English is not perfect.. So if you are a native speaker and are you interested let me know.. :)

Commands:
  • !w | !warden - Set you as a warden if it is possible.
  • !uw | !unwarden - Remove you from Warden post
  • !sw | !setwarden - You can simply choose and set player as a warden (Admin command)
  • !rw | !removewarden - You can fire current warden (Admin command)

Natives:
PHP Code:

/**
 * Check if client is Warden
 *
 * @param client
 * @return        True if client is warden.
 */
native bool EJBW_IsClientWarden(int client);

/**
 * Check if warden exists
 *
 * @return        True if yes
 */
native bool EJBW_WardenExist();

/**
 * Check if warden exists
 *
 * @param client
 * @return        True if successfully
 */
native bool EJBW_SetWarden(int client);

/**
 * Check if warden exists
 *
 * @param client
 * @return        True if successfully
 */
native bool EJBW_RemoveWarden(int client); 

Forwards:
PHP Code:

forward EJBW_OnWardenCreatedByUser(int client)
   - 
Called when player became Warden (!| !warden)

forward EJBW_OnWardenCreatedByAdmin(int client
   - 
Called when player became Warden (!sw | !setwarden EJBW_SetWarden(int client))

forward EJBW_OnWardenDisconnected(int client
   - 
Called when Warden has disconnected

forward EJBW_OnWardenDeath
(int client)
   - 
Called when Warden die

forward EJBW_OnWardenRemovedBySelf(int client)
   - 
Called when Warden retired (!uw | !unwarden)

forward EJBW_OnWardenRemovedByAdmin(int client)
   - 
Called when Warden retired (!rw | !removewarden EJBW_RemoveWarden(int client)) 

Admin commands are under ADMFLAG_GENERIC!

Download: HERE

8guawong 01-25-2016 09:54

Re: [CS:GO] ESK0's JailBreak Warden
 
what is the purpose of this plugin
same as this one
https://forums.alliedmods.net/showthread.php?t=157860

ESK0 01-25-2016 09:57

Re: [CS:GO] ESK0's JailBreak Warden
 
Quote:

Originally Posted by 8guawong (Post 2386358)
what is the purpose of this plugin
same as this one
https://forums.alliedmods.net/showthread.php?t=157860

I Read comments and Ecca's warden doesnt work properly.. And last update was in 2013.
My Warden brings few new features, forwards etc.. :)

Franc1sco 01-25-2016 10:21

Re: [CS:GO] ESK0's JailBreak Warden
 
https://forums.alliedmods.net/showth...93#post2375893

You could duplicate the native names that use jailbreak warden for people that already have subplugins for that warden plugin can work well too in this new warden plugin

ESK0 01-25-2016 10:28

Re: [CS:GO] ESK0's JailBreak Warden
 
Quote:

Originally Posted by Franc1sco (Post 2386368)
https://forums.alliedmods.net/showth...93#post2375893

You could duplicate the native names that use jailbreak warden for people that already have subplugins for that warden plugin can work well too in this new warden plugin

Maybe? Im not sure what about ecca :))

mufin 01-31-2016 04:17

Re: [CS:GO] ESK0's JailBreak Warden
 
i just posted the plugin i paid for from zipcore.

with update was posted week ago but now i gave my other plugin the marker for wardens

https://forums.alliedmods.net/showthread.php?t=278404

proffs 01-31-2016 14:21

Re: [CS:GO] ESK0's JailBreak Warden
 
Can you post changelogs from what's different from the original plugin

ESK0 01-31-2016 17:47

Re: [CS:GO] ESK0's JailBreak Warden
 
Quote:

Originally Posted by proffs (Post 2388849)
Can you post changelogs from what's different from the original plugin

Wow.. open ecca's warden and mine... and take a look.. what am i ?Whole different code..

proffs 02-01-2016 10:52

Re: [CS:GO] ESK0's JailBreak Warden
 
Quote:

Originally Posted by ESK0 (Post 2388904)
Wow.. open ecca's warden and mine... and take a look.. what am i ?Whole different code..

I'm a developer so I can see some changes, but for others it would be nice with a changelog. Also improving chance to get it accepted!

condolent 06-16-2017 02:34

Re: [CS:GO] ESK0's JailBreak Warden
 
Hello, I've been using this plugin for about a year now on my server and I'm very happy with it!

Now I'm trying to make a plugin for my server where only a warden can exec a command.
To do this I included eskojbwarden.inc and used this code:
Code:

        if(EJBW_IsClientWarden(client)) {
                // Exec
        }

When compiling it's all fine, but when trying to load the plugin it says that it doesn't understand what EJBW_IsClientWarden means!

Do I need to do something else?


All times are GMT -4. The time now is 23:01.

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