mirror of
https://github.com/alliedmodders/amxmodx.git
synced 2024-12-25 06:15:37 +03:00
fixed "say @" and "say @@" bug
This commit is contained in:
parent
f65b93ce49
commit
4276d63cf7
@ -42,6 +42,7 @@ public cmdSayChat(id) {
|
||||
if ( !i || i > 3 ) return PLUGIN_CONTINUE
|
||||
new message[192], a = 0
|
||||
read_args(message,191)
|
||||
remove_quotes(message)
|
||||
switch(said[i]){
|
||||
case 'r': a = 1
|
||||
case 'g': a = 2
|
||||
@ -81,6 +82,7 @@ public cmdSayAdmin(id) {
|
||||
new message[192], name[32],authid[32], userid
|
||||
new players[32], inum
|
||||
read_args(message,191)
|
||||
remove_quotes(message)
|
||||
get_user_authid(id,authid,31)
|
||||
get_user_name(id,name,31)
|
||||
userid = get_user_userid(id)
|
||||
|
Loading…
Reference in New Issue
Block a user