MsgDataType

Signature
enum MsgDataType { /* * Description: Any part of the message */ MsgAny, /* * Description: The destination of the message * Arg type: integer * Get params: new dest = GetMessageData(MsgDest); * Set params: SetMessageData(MsgDest, MSG_ALL); */ MsgDest, /* * Description: The index of the message * Arg type: integer * Get params: new msg_id = GetMessageData(MsgMsgId); * Set params: SetMessageData(MsgMsgId, const msg_id); */ MsgMsgId, /* * Description: The origin of the message * Arg type: float [3] * Get params: GetMessageData(MsgOrigin, Float:dstVector[3]); * Set params: SetMessageData(MsgOrigin, Float:srcVector[3]); */ MsgOrigin, /* * Description: The index of the recipient client * Arg type: integer * Get params: new targetId = GetMessageData(MsgTargetId); * Set params: SetMessageData(MsgTargetId, const targetId); (acceptable indexes 0-32, 0 index also as -1 means NULLENT) */ MsgTargetId, /* * Description: The arguments of the message * * Arg type: string (ArgString) * Get params: bool:GetMessageData(MsgArg, const argnumber, value[], const maxlen); * Set params: bool:SetMessageData(MsgArg, const argnumber, const value[]); * * Arg type: float (ArgAngle, ArgCoord) * Get params: Float:GetMessageData(MsgArg, const argnumber, &Float:value = 0.0); * Set params: bool:SetMessageData(MsgArg, const argnumber, const Float:value); * * Arg type: integer (ArgByte, ArgChar, ArgShort, ArgLong, ArgEntity) * Get params: GetMessageData(MsgArg, const argnumber); * Set params: bool:SetMessageData(MsgArg, const argnumber, const value); */ MsgArg };
Description

Message data types used with SetMessageData()/GetMessageData()

HasModifiedMessageData()/ResetModifiedMessageData()

Назад
Верх