mirror of
https://github.com/alliedmodders/amxmodx.git
synced 2025-01-23 12:18:03 +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
@ -88,6 +88,8 @@ public cmdHelp(id,level,cid) {
|
|||||||
|
|
||||||
#if defined DISPLAY_MSG
|
#if defined DISPLAY_MSG
|
||||||
public dispInfo(id) {
|
public dispInfo(id) {
|
||||||
|
if (!is_user_connected(id))
|
||||||
|
return
|
||||||
client_print(id,print_chat,"%L",id,"TYPE_HELP")
|
client_print(id,print_chat,"%L",id,"TYPE_HELP")
|
||||||
new nextmap[32]
|
new nextmap[32]
|
||||||
get_cvar_string("amx_nextmap",nextmap,31)
|
get_cvar_string("amx_nextmap",nextmap,31)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user