mirror of
https://github.com/alliedmodders/amxmodx.git
synced 2025-09-01 18:53:12 +03:00
Fixed a bug in dispInfo: if client disconnected fast enough we got a native error in client_print :-D
This commit is contained in:
parent
57eec2b88e
commit
3774575160
1 changed files with 2 additions and 0 deletions
|
@ -88,6 +88,8 @@ public cmdHelp(id,level,cid) {
|
|||
|
||||
#if defined DISPLAY_MSG
|
||||
public dispInfo(id) {
|
||||
if (!is_user_connected(id))
|
||||
return
|
||||
client_print(id,print_chat,"%L",id,"TYPE_HELP")
|
||||
new nextmap[32]
|
||||
get_cvar_string("amx_nextmap",nextmap,31)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue