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

[CS:S/CS:GO] Jailbreak Warden


Post New Thread Reply   
 
Thread Tools Display Modes
DarkDeviL
SourceMod Moderator
Join Date: Apr 2012
Old 03-23-2015 , 19:23   Re: [CS:S/CS:GO] Jailbreak Warden
Reply With Quote #181

Quote:
Originally Posted by Robin955 View Post
seems download was removed. the github one.

someone still has this? i had this before but had to reinstall
Seems like OP made a mistake on updating the link...

Try this GitHub link.
__________________
Mostly known as "DarkDeviL".

Dropbox FastDL: Public folder will no longer work after March 15, 2017!
For more info, see the [SRCDS Thread], or the [HLDS Thread].
DarkDeviL is offline
KOkokosz
Junior Member
Join Date: Jul 2012
Old 07-15-2015 , 12:51   Re: [CS:S/CS:GO] Jailbreak Warden
Reply With Quote #182

Would you add acces to commands !open and !close when player becomes warden?

Here's some code with public acces:

Quote:
#include <sourcemod>
#include <sdktools>

#pragma semicolon 1

new iEnt;
new const String:EntityList[][] = { "func_door", "func_movinglinear" };

public OnPluginStart()
{
RegConsoleCmd("sm_open", OnOpenCommand);
RegConsoleCmd("sm_close", OnCloseCommand);
}

public Action:OnOpenCommand(client, args)
{
for(new i = 0; i < sizeof(EntityList); i++)
while((iEnt = FindEntityByClassname(iEnt, EntityList[i])) != -1)
AcceptEntityInput(iEnt, "Open");

return Plugin_Handled;
}

public Action:OnCloseCommand(client, args)
{
for(new i = 0; i < sizeof(EntityList); i++)
while((iEnt = FindEntityByClassname(iEnt, EntityList[i])) != -1)
AcceptEntityInput(iEnt, "Close");

return Plugin_Handled;
}
__________________

KOkokosz is offline
ecca
Sexy Santa
Join Date: Jan 2011
Old 07-15-2015 , 16:19   Re: [CS:S/CS:GO] Jailbreak Warden
Reply With Quote #183

Use the native for that

PHP Code:
/********************************************************* 
 * returns if client is warden 
 * 
 * @param client        The client to run the check on 
 * @true on match, false if not         
 *********************************************************/ 
native warden_iswarden(client); 
__________________
ecca is offline
Broiler
New Member
Join Date: Dec 2013
Location: Sweden
Old 07-18-2015 , 05:28   Re: [CS:S/CS:GO] Jailbreak Warden
Reply With Quote #184

Nice
__________________
Founder of Publiclir Gaming Association
www.PUBLICLIR.se
Broiler is offline
Send a message via Skype™ to Broiler
barvica
Senior Member
Join Date: Oct 2014
Old 08-29-2015 , 13:54   Re: [CS:S/CS:GO] Jailbreak Warden
Reply With Quote #185

Is there a way to add a sound when warden is claimed and when warden dies ?
barvica is offline
iGANGNAM
AlliedModders Donor
Join Date: Sep 2012
Location: Lithuania
Old 08-29-2015 , 17:51   Re: [CS:S/CS:GO] Jailbreak Warden
Reply With Quote #186

Quote:
Originally Posted by barvica View Post
Is there a way to add a sound when warden is claimed and when warden dies ?
You should try api forwards

Quote:
forward warden_OnWardenCreated(client); - Called when a warden has been created
forward warden_OnWardenRemoved(client); - Called after a warden has been removed

Last edited by iGANGNAM; 08-29-2015 at 17:51.
iGANGNAM is offline
barvica
Senior Member
Join Date: Oct 2014
Old 08-29-2015 , 18:35   Re: [CS:S/CS:GO] Jailbreak Warden
Reply With Quote #187

i dont have any clue about that lel ...
barvica is offline
whtevrwt
AlliedModders Donor
Join Date: Apr 2015
Old 11-04-2015 , 17:52   Re: [CS:S/CS:GO] Jailbreak Warden
Reply With Quote #188

When I try to fire a player who's the warden using !rw, nothing happens. It shows in the chat that I fired the player as the warden, but nothing actually happens (they're still warden).
__________________

Last edited by whtevrwt; 11-16-2015 at 13:16.
whtevrwt is offline
Franc1sco
Veteran Member
Join Date: Oct 2010
Location: Spain (Madrid)
Old 12-04-2015 , 16:54   Re: [CS:S/CS:GO] Jailbreak Warden
Reply With Quote #189

Hello @ecca, I used part of your plugin for start with my ZR commander plugin.

I added new natives and fixes that maybe can help you for improve your warden plugin. Feel free to take all the code that you want
__________________
Veteran Coder -> Activity channel
Coding on CS2 and taking paid and free jobs.

Contact: Steam, Telegram or discord ( franug ).

You like my work? +Rep in my steam profile comments or donate.

Franc1sco is offline
Send a message via MSN to Franc1sco
MrPriime
Junior Member
Join Date: Oct 2015
Old 12-26-2015 , 15:58   Re: [CS:S/CS:GO] Jailbreak Warden
Reply With Quote #190

Could you do that instead of being warden by writing !w, make an option to do it randomly. Like it choses a random CT to be warden.
MrPriime is offline
Send a message via Skype™ to MrPriime
Reply


Thread Tools
Display Modes

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 15:55.


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