[DiscordArchive] And you reload after editing of course?
[DiscordArchive] And you reload after editing of course?
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`
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)
```