Forums WoW Modding Support Archives Azerothcore Discord Archives [DiscordArchive] And you reload after editing of course?

[DiscordArchive] And you reload after editing of course?

[DiscordArchive] And you reload after editing of course?

Pages (2): Previous 1 2
rektbyfaith
Administrator
0
05-14-2023, 09:53 AM
#11
Archived author: Roboto • Posted: 2023-05-14T09:53:53.450000+00:00
Original source

also those are the args for `PLAYER_EVENT_ON_CHAT`, not `PLAYER_EVENT_ON_COMMAND`
rektbyfaith
05-14-2023, 09:53 AM #11

Archived author: Roboto • Posted: 2023-05-14T09:53:53.450000+00:00
Original source

also those are the args for `PLAYER_EVENT_ON_CHAT`, not `PLAYER_EVENT_ON_COMMAND`

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

```Lua
local function toggleShop(event, player, command)
if(command == "shop") then
AIO.Handle(player, "STORE_CLIENT", "ToggleFrame")
end
return false
end

RegisterPlayerEvent(42, toggleShop)
```
rektbyfaith
05-14-2023, 09:53 AM #12

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

```Lua
local function toggleShop(event, player, command)
if(command == "shop") then
AIO.Handle(player, "STORE_CLIENT", "ToggleFrame")
end
return false
end

RegisterPlayerEvent(42, toggleShop)
```

Pages (2): Previous 1 2
Recently Browsing
 1 Guest(s)
Recently Browsing
 1 Guest(s)