LUA sampRegisterChatCommand w/o SF.

ph03nix

Новичок
Автор темы
11
0
Версия SA-MP
  1. 0.3DL
sampRegisterChatCommand("mycommand", function (param)
sampAddChatMessage("MyCMD", -1)

Hi. I work on version 0.3DL (SAMP Addon).
I would like to use the command above, but unfortunately SAMPFUNCS does not work on this version
I know the memory addresses to send commands to 0.3DL:

FUNC_SEND_CMD_03DL = 0x69340
and...
SAMP_CHAT_INFO_OFFSET_03DL = 0x2ACA10
FUNC_ADDTOCHATWND_03DL = 0x67650
FUNC_SAY_03DL = 0x5860

I need to create a script using the one who will do it