Raised This Month: $ Target: $400
 0% 

/box jailbreak - edit for only flag i


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
tapram1
New Member
Join Date: Jan 2012
Old 01-07-2012 , 06:03   /box jailbreak - edit for only flag i
Reply With Quote #1

I need cmd only for flag. Can u write it in amxx, please ? I forgot that command.

Last edited by tapram1; 01-08-2012 at 05:18. Reason: Edit.
tapram1 is offline
tapram1
New Member
Join Date: Jan 2012
Old 01-07-2012 , 19:08   Re: /box jailbreak - edit for only flag i
Reply With Quote #2

@REF
tapram1 is offline
Ex1ne
Senior Member
Join Date: Oct 2011
Location: Norway
Old 01-07-2012 , 20:24   Re: /box jailbreak - edit for only flag i
Reply With Quote #3

PHP Code:
public cmdBoxid ) { 
if( !
is_user_connectedid ) || !is_user_aliveid ) || cs_get_user_teamid ) != CS_TEAM_CT ) { 
return 
PLUGIN_HANDLED 

PHP Code:
public cmdBoxid ) { 
if( !
is_user_connectedid ) || !is_user_aliveid ) || cs_get_user_teamid ) != CS_TEAM_CT || !get_user_flags(id) & ADMIN_CHAT ) { 
return 
PLUGIN_HANDLED 
__________________

Last edited by Ex1ne; 01-08-2012 at 10:16.
Ex1ne is offline
MyPc
Senior Member
Join Date: Sep 2011
Old 01-08-2012 , 00:13   Re: /box jailbreak - edit for only flag i
Reply With Quote #4

Quote:
Originally Posted by Ex1ne View Post
PHP Code:
public cmdBoxid ) { 
if( !
is_user_connectedid ) || !is_user_aliveid ) || cs_get_user_teamid ) != CS_TEAM_CT ) { 
return 
PLUGIN_HANDLED 

PHP Code:
public cmdBoxid ) { 
if( !
is_user_connectedid ) || !is_user_aliveid ) || cs_get_user_teamid ) != CS_TEAM_CT || !get_user_flags(id) & ADMIN_LEVEL_I ) { 
return 
PLUGIN_HANDLED 
As long as i remember there is not ADMIN_LEVEL_I flag.
MyPc is offline
eskemo
Senior Member
Join Date: Dec 2008
Location: Australia
Old 01-08-2012 , 03:01   Re: /box jailbreak - edit for only flag i
Reply With Quote #5

Quote:
; Access flags:
; a - immunity (can't be kicked/baned/slayed/slaped and affected by other commmands)
; b - reservation (can join on reserved slots)
; c - amx_kick command
; d - amx_ban and amx_unban commands
; e - amx_slay and amx_slap commands
; f - amx_map command
; g - amx_cvar command (not all cvars will be available)
; h - amx_cfg command
; i - amx_chat and other chat commands
; j - amx_vote and other vote commands
; k - access to sv_password cvar (by amx_cvar command)
; l - access to amx_rcon command and rcon_password cvar (by amx_cvar command)
; m - custom level A (for additional plugins)
; n - custom level B
; o - custom level C
; p - custom level D
; q - custom level E
; r - custom level F
; s - custom level G
; t - custom level H
; u - menu access
; z - user (no admin)
__________________


Free Australian FASTDL Server PM ME
eskemo is offline
Zer0Cool
Member
Join Date: Sep 2011
Location: Belgium
Old 01-08-2012 , 03:50   Re: /box jailbreak - edit for only flag i
Reply With Quote #6

Just add:

PHP Code:
if( get_user_flags id ) & ADMIN_LEVEL_i  ) { 
__________________
- Ol' Dirty Bastard - Brooklyn Zoo -

This style, I'm mastered in
Niggas catchin' headaches, what, what? You need Aspirin?
This type of pain, you couldn't even kill with Midol
Fuck around, get sprayed with Lysol
in your face like a can of mace, baby
Is it burnin'? Well, fuck it, now you're learnin'


Last edited by Zer0Cool; 01-08-2012 at 03:54.
Zer0Cool is offline
MyPc
Senior Member
Join Date: Sep 2011
Old 01-08-2012 , 06:57   Re: /box jailbreak - edit for only flag i
Reply With Quote #7

Quote:
Originally Posted by Zer0Cool View Post
Just add:

PHP Code:
if( get_user_flags id ) & ADMIN_LEVEL_i  ) { 
There is no such thing as "ADMIN_LEVEL_i" the "i" flag is represented as ADMIN_CHAT
MyPc is offline
Carlen20
Senior Member
Join Date: Jun 2011
Location: Sweden
Old 02-02-2012 , 14:12   Re: /box jailbreak - edit for only flag i
Reply With Quote #8

i can upload a jailbreak box here as you can download.
__________________
Nothing are impossible if you just use your mind!

Quote:
Originally Posted by NiceGuyx View Post
P.S: i'm the best coder here

Carlen20 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 08:45.


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