
SourceMod has 'OnGetGameDescription' for this, is there a way to achieve the same thing with SP?
Syntax: Select all
from memory import get_virtual_function
from memory.hooks import PreHook
from engines.server import server_game_dll
@PreHook(get_virtual_function(server_game_dll, 'GetGameDescription'))
def pre_get_game_description(args):
return 'Your description'
Return to “Plugin Development Support”
Users browsing this forum: Bing [Bot] and 91 guests