[Check] Jailbreak Voice
I think that this Code, crashes my server
I want to know if this code is fine, I did test and sometimes DEAD T Team can speak. Code:
#pragma semicolon 1Code:
public OnClientSpeak(receiver, sender, bool:listen) |
Re: [Check] Jailbreak Voice
I don't know why your's crashes the server but here's something I Just built.
Its not tested and supposed to block dead prisoners voice. PHP Code:
|
Re: [Check] Jailbreak Voice
Quote:
So I tried to build one myself, but Dead Prisoner Talking. Check your code and tell me if working |
Re: [Check] Jailbreak Voice
Quote:
This is a new code that I just made just now try it if you want. |
Re: [Check] Jailbreak Voice
if ( !is_user_connected( Sender ) || !is_user_connected( Rec ) )
return 1; if ( get_user_flags( Sender ) & TALK_ACCESS ) return 1; I am not sure what's the define for 1 in fakemeta, but i am sure that's wrong. If 1 = allowed to talk, you are allowing disconnected senders/receivers to speak/listen |
Re: [Check] Jailbreak Voice
Quote:
|
Re: [Check] Jailbreak Voice
I am not in my computer so i cant check. If 1 = frmes_ignored, then you must do this:
if(!is_user_connected(sender) || !is_user_connected(receiver)) return FMRES_SUPERCEDE |
| All times are GMT -4. The time now is 15:29. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.