HolyLib Wiki

SendNetMsg

  CBaseClient:SendNetMsg( number type, string name, bf_write buffer )

Description

Same as gameserver.BroadcastMessage but it only sends it to the specific player.

Recently Changed

This was recently changed in version (0.8 - DEV).

This function will now check if the given buffer is overflowed and throw a error if it is

Arguments

1number type
You can find all valid types in the protocol.h
2string name
name of broadcast message
3bf_write buffer
the message buffer