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
WPMGPRoSToTeMa commentedon Oct 25, 2016
This additional text is on the client-side. But you can add several
\n(^nfor Pawn) before message, this should help.NewZMLife commentedon Oct 25, 2016
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