[DiscordArchive] And you reload after editing of course?
[DiscordArchive] And you reload after editing of course?
Archived author: Foe • Posted: 2023-05-14T09:28:49.421000+00:00
Original source
And you reload after editing of course?
Archived author: Chaz • Posted: 2023-05-14T09:34:28.122000+00:00
Original source
yes ofc
Archived author: Foe • Posted: 2023-05-14T09:38:09.353000+00:00
Original source
Then you should be getting errors with the above you're calling variables that don't exist, so you should be getting nil value errors
Archived author: Foe • Posted: 2023-05-14T09:39:18.397000+00:00
Original source
You're checking if msg is equal to something, but msg doesn't exist
Archived author: Chaz • Posted: 2023-05-14T09:44:41.666000+00:00
Original source
fixed it
Archived author: Chaz • Posted: 2023-05-14T09:44:44.704000+00:00
Original source
```
function shop(event, player, message, Type, lang)
if(message:lower() == "shop")then
AIO.Handle(player, "STORE_CLIENT", "ToggleFrame")
end
return false
end
RegisterPlayerEvent(42, shop)
```
Archived author: Chaz • Posted: 2023-05-14T09:44:52.098000+00:00
Original source
https://www.getmangos.eu/forums/topic/10...f-command/ helped
![[Image: image.png?ex=690c6f4b&is=690b1dcb&hm=8be...2cc8ac158&]](https://cdn.discordapp.com/attachments/448835144564867094/1107243421036449944/image.png?ex=690c6f4b&is=690b1dcb&hm=8be06a2d4c9c0800aa9bfa58f05bad34b2a9ea5afd2ffb10ba298262cc8ac158&)
Archived author: Chaz • Posted: 2023-05-14T09:50:03.232000+00:00
Original source
ok <@169121237539356673> ty all working
![[Image: image.png?ex=690c6f4b&is=690b1dcb&hm=8be...2cc8ac158&]](https://cdn.discordapp.com/attachments/448835144564867094/1107243421036449944/image.png?ex=690c6f4b&is=690b1dcb&hm=8be06a2d4c9c0800aa9bfa58f05bad34b2a9ea5afd2ffb10ba298262cc8ac158&)
Archived author: Chaz • Posted: 2023-05-14T09:50:44.104000+00:00
Original source
ty also for this
Archived author: Foe • Posted: 2023-05-14T09:52:00.112000+00:00
Original source
Add local in front of the function, there's no reason for it to be a global function