Skip to content

[Suggestion] RH_SV_DropClient Reason Format #25

Closed

Description

@NewZMLife

when you use RH_SV_DropClient function to change drop client reason:

SetHookChainArg(3, ATYPE_STRING, "I hope you enjoyed playing here.")

the drop client message will be: You have been diconnected from game.Reason: I hope you enjoyed playing here.

can you modify message to only using defined text (I hope you enjoyed playing here.) without You have been disconnected ... ?

@s1lentq

Activity

  1. WPMGPRoSToTeMa commented on Oct 25, 2016

    @WPMGPRoSToTeMa
    Contributor

    This additional text is on the client-side. But you can add several \n (^n for Pawn) before message, this should help.

  2. NewZMLife commented on Oct 25, 2016

    @NewZMLife
    Author

    thanks, works well.

    i have a another question: how can i hook a server command, using reapi (or any other modules) to prevent them from execution ?

    for example, i want to block exectuing _restart command in server console

  3. locked and limited conversation to collaborators on Nov 21, 2024
  4. converted this issue into a discussion #335 on Nov 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions