View Single Post
[nFb]GraveKeeper
Senior Member
Join Date: Mar 2004
Location: Connecticut, U.S.A.
Old 08-15-2004 , 11: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