Forums WoW Modding Support Archives Azerothcore Discord Archives [DiscordArchive] how do i show a frame with a command?

[DiscordArchive] how do i show a frame with a command?

[DiscordArchive] how do i show a frame with a command?

Pages (4): Previous 1 2 3 4 Next
rektbyfaith
Administrator
0
05-14-2023, 08:51 AM
#11
Archived author: Chaz • Posted: 2023-05-14T08:51:55.654000+00:00
Original source


[Image: image.png?ex=690c61ab&is=690b102b&hm=08b...bf82aaa75&]
rektbyfaith
05-14-2023, 08:51 AM #11

Archived author: Chaz • Posted: 2023-05-14T08:51:55.654000+00:00
Original source


[Image: image.png?ex=690c61ab&is=690b102b&hm=08b...bf82aaa75&]

rektbyfaith
Administrator
0
05-14-2023, 08:53 AM
#12
Archived author: Chaz • Posted: 2023-05-14T08:53:41.568000+00:00
Original source

```
local ChatPrefix = ".shop"

local function ChatSystem(event, player, msg, _, lang)
if (msg:find(ChatPrefix) == 1) then
AIO.Handle(player, "STORE_CLIENT", "ToggleFrame")
end
end

RegisterPlayerEvent(18, ChatSystem)
```
rektbyfaith
05-14-2023, 08:53 AM #12

Archived author: Chaz • Posted: 2023-05-14T08:53:41.568000+00:00
Original source

```
local ChatPrefix = ".shop"

local function ChatSystem(event, player, msg, _, lang)
if (msg:find(ChatPrefix) == 1) then
AIO.Handle(player, "STORE_CLIENT", "ToggleFrame")
end
end

RegisterPlayerEvent(18, ChatSystem)
```

rektbyfaith
Administrator
0
05-14-2023, 09:11 AM
#13
Archived author: Roboto • Posted: 2023-05-14T09:11:48.735000+00:00
Original source

Don't ping people randomly.
rektbyfaith
05-14-2023, 09:11 AM #13

Archived author: Roboto • Posted: 2023-05-14T09:11:48.735000+00:00
Original source

Don't ping people randomly.

rektbyfaith
Administrator
0
05-14-2023, 09:11 AM
#14
Archived author: Roboto • Posted: 2023-05-14T09:11:58.903000+00:00
Original source

<https://www.lua.org/pil/20.1.html>
rektbyfaith
05-14-2023, 09:11 AM #14

Archived author: Roboto • Posted: 2023-05-14T09:11:58.903000+00:00
Original source

<https://www.lua.org/pil/20.1.html>

rektbyfaith
Administrator
0
05-14-2023, 09:14 AM
#15
Archived author: Foe • Posted: 2023-05-14T09:14:20.965000+00:00
Original source

Don't use a chat hook, use the proper command hook
rektbyfaith
05-14-2023, 09:14 AM #15

Archived author: Foe • Posted: 2023-05-14T09:14:20.965000+00:00
Original source

Don't use a chat hook, use the proper command hook

rektbyfaith
Administrator
0
05-14-2023, 09:14 AM
#16
Archived author: Chaz • Posted: 2023-05-14T09:14:56.838000+00:00
Original source

i tried that same issue :/
rektbyfaith
05-14-2023, 09:14 AM #16

Archived author: Chaz • Posted: 2023-05-14T09:14:56.838000+00:00
Original source

i tried that same issue :/

rektbyfaith
Administrator
0
05-14-2023, 09:15 AM
#17
Archived author: Chaz • Posted: 2023-05-14T09:15:01.154000+00:00
Original source

```
local function OnCommand(event, player, msg, Type, lang)
if (msg == ".shop") then
AIO.Handle(player, "STORE_CLIENT", "ToggleFrame")
end
end
RegisterPlayerEvent(4, OnCommand)

```
rektbyfaith
05-14-2023, 09:15 AM #17

Archived author: Chaz • Posted: 2023-05-14T09:15:01.154000+00:00
Original source

```
local function OnCommand(event, player, msg, Type, lang)
if (msg == ".shop") then
AIO.Handle(player, "STORE_CLIENT", "ToggleFrame")
end
end
RegisterPlayerEvent(4, OnCommand)

```

rektbyfaith
Administrator
0
05-14-2023, 09:15 AM
#18
Archived author: Foe • Posted: 2023-05-14T09:15:44.432000+00:00
Original source

That's not correct, check the documentation
rektbyfaith
05-14-2023, 09:15 AM #18

Archived author: Foe • Posted: 2023-05-14T09:15:44.432000+00:00
Original source

That's not correct, check the documentation

rektbyfaith
Administrator
0
05-14-2023, 09:16 AM
#19
Archived author: Foe • Posted: 2023-05-14T09:16:13.111000+00:00
Original source

Event 4 is on spell cast, not on command
rektbyfaith
05-14-2023, 09:16 AM #19

Archived author: Foe • Posted: 2023-05-14T09:16:13.111000+00:00
Original source

Event 4 is on spell cast, not on command

rektbyfaith
Administrator
0
05-14-2023, 09:16 AM
#20
Archived author: Chaz • Posted: 2023-05-14T09:16:48.260000+00:00
Original source

oh so the number represents the command
rektbyfaith
05-14-2023, 09:16 AM #20

Archived author: Chaz • Posted: 2023-05-14T09:16:48.260000+00:00
Original source

oh so the number represents the command

Pages (4): Previous 1 2 3 4 Next
Recently Browsing
 1 Guest(s)
Recently Browsing
 1 Guest(s)