View Single Post
Sillium
AlliedModders Donor
Join Date: Sep 2008
Location: Germany
Old 06-26-2011 , 08:49   Re: Rcon locker / exploit fix
Reply With Quote #517

If you mean this Version: http://forums.alliedmods.net/showpos...&postcount=408

It still removes the disconnect reason.

I think you have to remove this line:
Code:
HookEvent("player_disconnect",player_disc,EventHookMode_Pre);
And this block:
Code:
public Action:player_disc(Handle:event, const String:name[], bool:dontBroadcast)
{
    SetEventString(event,"reason","");
    return Plugin_Continue;
}
I added the version with the spawn fix and the disconnect messages. I increased the Version Number.
Attached Files
File Type: sp Get Plugin or Get Source (rcon_lock.sp - 923 views - 13.2 KB)
__________________
brb, dishes have developed their own language and are talking to the garbage about overthrowing me... i must correct this

www.unterwasserpyromanen.de

Last edited by Sillium; 06-27-2011 at 02:06. Reason: Added Plugin
Sillium is offline