Raised This Month: $ Target: $400
 0% 

small edit help pleeze


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
Riddick51
BANNED
Join Date: Jul 2005
Location: Lincoln, Nebr US
Old 08-24-2005 , 19:01   small edit help pleeze
Reply With Quote #1

here is the change i want.
the following code section executes like this:

Given:
Playername: Gumby
Authority: Admin all acess

when Admin player "Gumby" executes the following command in the console:
amx_say guns [Enter]

the following is written to each players in the servers screen:
(ALL) Gumby: guns [Enter]

what i want is this:
(ALL): guns [Enter]

Code:
[1]public cmdSay(id,level,cid) { [2]  if (!cmd_access(id,level,cid,2)) [3]    return PLUGIN_HANDLED [4]  new message[192],name[32],authid[32],userid [5]  read_args(message,191) [6]  remove_quotes(message) [7]  get_user_authid(id,authid,31) [8]  get_user_name(id,name,31) [9]  userid = get_user_userid(id) [10]  client_print(0,print_chat,"%L",LANG_PLAYER, "PRINT_ALL",name,message) [11]  console_print(id,"%L",LANG_PLAYER,"PRINT_ALL",name,message) [12]  log_amx("Chat: ^"%s<%d><%s><>^" say ^"%s^"", name,userid,authid,message) [13]log_message("^"%s<%d><%s><>^" triggered ^"amx_say^" (text ^"%s^")",name,userid,authid,message) [14]  return PLUGIN_HANDLED [15]}
Riddick51 is offline
Send a message via AIM to Riddick51 Send a message via MSN to Riddick51 Send a message via Yahoo to Riddick51
 



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


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