Quote:
Originally Posted by fvRate
Even if it accepts an index parameter, you are not really using it, if you need some specific operation (condition for it to run), for example if player is X then set_msg_arg_int( playerIndex, ARG_BYTE, iFov ); then just use get_players for that.
|
No.
public Message_SetFOV(MsgId, MsgDest, MsgEntity) { ... }
MsgEntity is the player index. But you don't use player index in set_msg_arg/get_msg_arg natives. The first param is the argument index from the message.
@OP, to add a condition so you can change fov for only one player use the MsgEntity param and do the check before doing set_msg_arg_int.
__________________