Raised This Month: $ Target: $400
 0% 

[HELP] Admin see player chats.


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Metanabol
Member
Join Date: Feb 2009
Old 03-18-2009 , 09:27   [HELP] Admin see player chats.
Reply With Quote #1

Hello, i try to make script what shows all chats to admins ;)
here is part of source.. i dont know how to format message to admins and etc... thanks
PHP Code:
#include <amxmodx>
#include <amxmisc>

public plugin_init()
{
    
register_plugin ("See all chats""1.0""Metanabol")
    
register_clcmd ("say""chat")
    
register_clcmd ("say_team""team_chat")
}
public 
chat(id)
{
    
read_args (message191)
    new 
name[32]
    
get_user_name (idname31)
    if(
get_user_flags(id) & ADMIN_CHAT)
    
    
    
//I need to make, seeing messages for ADMIN_CHAT flags users like: DEAD admin see alive players chats or alive admin see DEAD players chats.
    //Also see what players type in say_team :)
}
public 
team_chat(id)
{
    
read_args (message191)
    new 
name[32]
    
get_user_name (idname31)
    if(
get_user_flags(id) & ADMIN_CHAT)
    
    
    
//I need to make, seeing messages for ADMIN_CHAT flags users like: DEAD admin see alive players chats or alive admin see DEAD players chats.
    //Also see what players type in say_team :)

Metanabol is offline
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 03-18-2009 , 09:42   Re: [HELP] Admin see player chats.
Reply With Quote #2

This plugin should help you : http://forums.alliedmods.net/showthread.php?p=571811
Arkshine 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 09:00.


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