AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Approved Plugins (https://forums.alliedmods.net/forumdisplay.php?f=8)
-   -   admin alltalk(deluxe) (https://forums.alliedmods.net/showthread.php?t=4829)

gort 08-11-2004 14:54

admin alltalk(deluxe)
 
1 Attachment(s)
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.

Deagle 08-11-2004 14:58

simple but nice, plus rated

Deagle 08-12-2004 13:32

/alltalk doesnt work

gort 08-12-2004 13:49

thats weird it worked perfectly, i posted a new one try it.

Deagle 08-12-2004 14:37

1 Attachment(s)
k thanks
edit: tested now working, thanks a bunch mate nice work keep it up
regards

gort 08-12-2004 16:04

Yeah no problem, thank you for the compliments.

[nFb]GraveKeeper 08-15-2004 11:52

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.

narcussist 08-15-2004 12:28

Re: admin alltalk(deluxe)
 
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"

[nFb]GraveKeeper 08-15-2004 12:39

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.

gort 08-17-2004 15:17

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


All times are GMT -4. The time now is 16:14.

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