Raised This Month: $66 Target: $400
 16% 

admin alltalk(deluxe)


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   ALL        Category:   Admin Commands        Approver:   devicenull (200)
gort
Junior Member
Join Date: Aug 2004
Location: Glendale, CA
Old 08-11-2004 , 15:54   admin alltalk(deluxe)
Reply With Quote #1

usage: admins type amx_alltalk 1 or 0 to turn sv_alltlak on or off and and you can also type "say /alltalk" to see if it is on.
I ported my own plugin from amx mod. Its a little different then the alltalk plugins out there.
I made the access level for admins to kick and I changed amx to amxx.
Attached Files
File Type: sma Get Plugin or Get Source (admin_alltalk.sma - 3411 views - 1.4 KB)
__________________
gort is offline
Deagle
Veteran Member
Join Date: Jun 2004
Old 08-11-2004 , 15:58  
Reply With Quote #2

simple but nice, plus rated
__________________
http://www.kingpinservers.com
-=(Wickedest Host On Eastcoast)=-
Deagle is offline
Deagle
Veteran Member
Join Date: Jun 2004
Old 08-12-2004 , 14:32  
Reply With Quote #3

/alltalk doesnt work
__________________
http://www.kingpinservers.com
-=(Wickedest Host On Eastcoast)=-
Deagle is offline
gort
Junior Member
Join Date: Aug 2004
Location: Glendale, CA
Old 08-12-2004 , 14:49  
Reply With Quote #4

thats weird it worked perfectly, i posted a new one try it.
__________________
gort is offline
Deagle
Veteran Member
Join Date: Jun 2004
Old 08-12-2004 , 15:37  
Reply With Quote #5

k thanks
edit: tested now working, thanks a bunch mate nice work keep it up
regards
Attached Thumbnails
Click image for larger version

Name:	unavngivet.jpg
Views:	976
Size:	81.9 KB
ID:	1273  
__________________
http://www.kingpinservers.com
-=(Wickedest Host On Eastcoast)=-
Deagle is offline
gort
Junior Member
Join Date: Aug 2004
Location: Glendale, CA
Old 08-12-2004 , 17:04  
Reply With Quote #6

Yeah no problem, thank you for the compliments.
__________________
gort is offline
[nFb]GraveKeeper
Senior Member
Join Date: Mar 2004
Location: Connecticut, U.S.A.
Old 08-15-2004 , 12:52  
Reply With Quote #7

Nice work.

Just to give you a heads up change all [AMX] to [AMXX] and change:

Change:
Code:
#include <amxmod>

To:
Code:
#include <amxmodx>

Change:
Code:
new alltalk_s[2]     read_argv(1,alltalk_s,2)     new alltalk = strtonum(alltalk_s)
To:
Code:
new alltalk_s[2]     read_argv(1,alltalk_s,2)     new alltalk = str_to_num(alltalk_s)

Also this change would be useful.

Change:
Code:
if(alltalk == 1) {         server_cmd("sv_alltalk 1")         console_print(id,"[AMX] alltalk is on!")     }     else if(alltalk == 0) {         server_cmd("sv_alltalk 0")         console_print(id,"[AMX] alltalk is off!")
To:
Code:
if(alltalk == 1) {         server_cmd("sv_alltalk 1")         console_print(id,"[AMXX] alltalk is on!")         client_print(0,print_chat,"[AMXX] Admin has turned ALLTALK mode ON")     }     else if(alltalk == 0) {         server_cmd("sv_alltalk 0")         console_print(id,"[AMXX] alltalk is off!")         client_print(0,print_chat,"[AMXX] Admin has turned ALLTALK mode OFF")

This will annonce to the players that alltalk has been turned on or off.
[nFb]GraveKeeper is offline
Send a message via AIM to [nFb]GraveKeeper
narcussist
Senior Member
Join Date: Jul 2004
Location: Canton, Ohio
Old 08-15-2004 , 13:28   Re: admin alltalk(deluxe)
Reply With Quote #8

Quote:
Originally Posted by gort
usage: admins type amx_alltalk 1 or 0 to turn sv_alltlak on or off and and you can also type "say /alltalk" to see if it is on.
I ported my own plugin from amx mod. Its a little different then the alltalk plugins out there.

by GORT
why not just put in your cvars.ini
"sv_alltalk" "0" "1" "u"
__________________
narcussist is offline
Send a message via AIM to narcussist Send a message via MSN to narcussist Send a message via Yahoo to narcussist
[nFb]GraveKeeper
Senior Member
Join Date: Mar 2004
Location: Connecticut, U.S.A.
Old 08-15-2004 , 13:39  
Reply With Quote #9

Ease of use, players in the server can type /alltalk to see if it is turned on or off, sometimes you join servers without knowing if alltalk is on and you talk to your teammates about where you are going to plant, where you are, etc... Also you can give access to this command to lower ranked admins who don't have menu access.
[nFb]GraveKeeper is offline
Send a message via AIM to [nFb]GraveKeeper
gort
Junior Member
Join Date: Aug 2004
Location: Glendale, CA
Old 08-17-2004 , 16:17  
Reply With Quote #10

Ok, i changed it thank you gravekeeper I changed all the amx to amxx and did what else you told me.
__________________
gort is offline
Reply


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 23:16.


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