AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Suggestions / Requests (https://forums.alliedmods.net/forumdisplay.php?f=12)
-   -   chat (https://forums.alliedmods.net/showthread.php?t=307522)

InteX01 05-13-2018 14:47

chat
 
can somebody make, chat like admin chat..
but umm
when u use lets say,,, "say /f (text)", then it sends that (text) message or whatever, to all players who have f_chat[id] = 1

WhiteFang1319 05-13-2018 16:03

Re: chat
 
You'll need to post the plugin that has the f_,chat[id] = 1 , cvar or w/e it is, so that people may help you

InteX01 05-15-2018 09:54

Re: chat
 
imm, i dont need help, i posted request.
and i think im pretty clear,

when someone type in say /f message

only the players with f_chat[id] = 1 or whatever, could see that message

instinctpt1 05-15-2018 10:05

Re: chat
 
Quote:

Originally Posted by InteX01 (Post 2592269)
imm, i dont need help, i posted request.
and i think im pretty clear,

when someone type in say /f message

only the players with f_chat[id] = 1 or whatever, could see that message

Don't be rude here , if it's a request not a modification then as you are saying "you are sure u asked it properly" .. can i ask where you defined the fuction or told us when or how players get fchat[id] =1 ??

Explain properly or leave

InteX01 05-15-2018 15:42

Re: chat
 
PHP Code:

#include <amxmodx>
#include <amxmisc>

#define PLUGIN "New Plug-In"
#define VERSION "1.0"
#define AUTHOR "author"

new f_chat[33] = 0

public plugin_init() {
    
register_plugin(PLUGINVERSIONAUTHOR)
    
    
register_clcmd("say /iwantfchat""fchatgive")
}

public 
fchatgive(id)
{
    
f_chat[id] = 1




All times are GMT -4. The time now is 13:33.

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