[DiscordArchive] anyone have an eluna .lua that will open the bank remotely similar to how the gm command .mail works
[DiscordArchive] anyone have an eluna .lua that will open the bank remotely similar to how the gm command .mail works
Archived author: Thyestefles • Posted: 2022-12-11T18:59:36.723000+00:00
Original source
anyone have an eluna .lua that will open the bank remotely similar to how the gm command .mail works?
Archived author: Thyestefles • Posted: 2022-12-11T19:02:24.952000+00:00
Original source
bank.lua
Archived author: Thyestefles • Posted: 2022-12-11T19:02:49.085000+00:00
Original source
thats the one i had tried i found and had altered it all kinds of ways but never got it to work
Archived author: Thyestefles • Posted: 2022-12-11T19:10:33.954000+00:00
Original source
think that lua is for tricnity core and im using ac so not sure which commands need to be changed if its even p[ossible to get it to work
Archived author: Honey • Posted: 2022-12-11T19:26:34.078000+00:00
Original source
It doesn't matter which core you use with Eluna, at worst there's a hook misplaced or missing.
Archived author: Honey • Posted: 2022-12-11T19:29:10.988000+00:00
Original source
```lua
local bankCommand = "bank"
local function OnEvents(event, player, command, chatHandler)
if (bankCommand == command) then
player:SendShowBank(player)
return false
end
end
RegisterPlayerEvent(42, OnEvents)
print('Bank script loaded.')
```
Archived author: Honey • Posted: 2022-12-11T19:29:16.121000+00:00
Original source
Try that one
Archived author: Thyestefles • Posted: 2022-12-11T19:31:56.416000+00:00
Original source
ok ill give it a try
Archived author: Thyestefles • Posted: 2022-12-11T19:39:44.203000+00:00
Original source
it didnt work
Archived author: Thyestefles • Posted: 2022-12-11T19:40:08.134000+00:00
Original source
i just type bank to get it to open correct?