Raised This Month: $ Target: $400
 0% 

How to add a Costum FLAG to no_chatting.amx ?


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
Varden
Junior Member
Join Date: Nov 2006
Old 11-24-2006 , 14:51   How to add a Costum FLAG to no_chatting.amx ?
Reply With Quote #1

Please help me... who knows how to add a costum flag to this plugin PHP Code:
#include <amxmod>
public hook_say()
{
if (
get_cvar_num("blocksay"))
return
PLUGIN_HANDLED

return PLUGIN_CONTINUE
}

public plugin_init()
{
register_plugin("block say", "1", "Petey B")
register_clcmd("say", "hook_say")
register_clcmd("say_team", "hook_say")
register_cvar("blocksay","1")
}
Varden 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 06:59.


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