Raised This Month: $ Target: $400
 0% 

block team chooser


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
Mazke
Junior Member
Join Date: Oct 2007
Old 11-26-2007 , 03:12   block team chooser
Reply With Quote #1

is it possible to make that only admins with imunity, flag "a" can choose team?

here is my code:

PHP Code:
#include <amxmodx>

public plugin_init()
{
    
register_plugin("Block Team Change""1.0""...");
    
register_clcmd("chooseteam""cmdChooseTeam");
}

public 
cmdChooseTeam(id)
{
    
client_print(idprint_chat"[AMXX] You are not permitted to switch teams.");
    
    return 
PLUGIN_HANDLED;

Mazke is offline
 



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 11:03.


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