Skip to content

Commit

Permalink
Fix docs
Browse files Browse the repository at this point in the history
  • Loading branch information
s1lentq committed May 27, 2024
1 parent ab14d37 commit e5771ba
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions reapi/extra/amxmodx/scripting/include/reapi_engine_const.inc
Original file line number Diff line number Diff line change
Expand Up @@ -1350,31 +1350,31 @@ enum MsgDataType

/*
* Description: The destination of the message
* Return type: integer
* Arg type: integer
* Get params: new dest = GetMessageData(MsgDest);
* Set params: SetMessageData(MsgDest, MSG_ALL);
*/
MsgDest,

/*
* Description: The index of the message
* Return type: integer
* Arg type: integer
* Get params: new msg_id = GetMessageData(MsgMsgId);
* Set params: SetMessageData(MsgMsgId, const msg_id);
*/
MsgMsgId,

/*
* Description: The origin of the message
* Return type: float [3]
* 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
* Return type: integer
* 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)
*/
Expand All @@ -1383,15 +1383,15 @@ enum MsgDataType
/*
* Description: The arguments of the message
*
* Arg type: string (MSG_ARG_String)
* 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 (MSG_ARG_Angle, MSG_ARG_Coord)
* 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 (MSG_ARG_Byte, MSG_ARG_Char, MSG_ARG_Short, MSG_ARG_Long, MSG_ARG_Entity)
* Arg type: integer (ArgByte, ArgChar, ArgShort, ArgLong, ArgEntity)
* Get params: GetMessageData(MsgArg, const argnumber);
* Set params: bool:SetMessageData(MsgArg, const argnumber, const value);
*/
Expand Down

0 comments on commit e5771ba

Please sign in to comment.