2
0
Fork 0
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:
Johnny Bergström 2005-02-21 00:23:16 +00:00
commit 3774575160

View file

@ -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)