Raised This Month: $ Target: $400
 0% 

Can somebody help :/ ?


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
InteX01
Senior Member
Join Date: Jan 2017
Old 02-12-2017 , 10:53   Can somebody help :/ ?
Reply With Quote #1

Code:
#include <amxmodx>
#include <amxmisc>

#define USERFLAG ADMIN_USER

public plugin_init() {
	register_clcmd("say", "usersay")
}
public usersay(id){
	if(get_user_flags(id) & USERFLAG)
	{
		return PLUGIN_HANDLED;
		ColorChat(id, GREEN, "[AMXX] ^3Chat is locked.")
	}
}
First im noob at this
I wanted to make LockChat plugin where Admin could lock chat by /lock - /unlock command to users with Z flag (just user)
Now i dont have idea how to make that or is it even possible :/
InteX01 is offline
 


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


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