[DiscordArchive] ```local PACKET_EVENT_ON_PACKET_RECEIVE = 5
[DiscordArchive] ```local PACKET_EVENT_ON_PACKET_RECEIVE = 5
Archived author: Nocty1501 • Posted: 2023-12-03T21:28:54.055000+00:00
Original source
I am CALLING the function in `RegisterPacketEvent`
Archived author: Nocty1501 • Posted: 2023-12-03T21:28:58.803000+00:00
Original source
instead of passing its name as an identifier
Archived author: Nocty1501 • Posted: 2023-12-03T21:29:03.694000+00:00
Original source
I am once again an idiot
Archived author: Honey • Posted: 2023-12-03T21:30:23.151000+00:00
Original source
You're right that it's wrong. Not with the rest.
```lua
RegisterPacketEvent(CMSG_RECLAIM_CORPSE, PACKET_EVENT_ON_PACKET_RECEIVE, OnAttemptRevive)
```
That's how it should look.
Archived author: Bench • Posted: 2023-12-03T21:30:49.417000+00:00
Original source
Can't learn without trying <:cthulhu:1065390364476833812>
Archived author: Nocty1501 • Posted: 2023-12-03T21:32:10.835000+00:00
Original source
yep
Archived author: Nocty1501 • Posted: 2023-12-03T21:32:23.948000+00:00
Original source
it works
Archived author: Nocty1501 • Posted: 2023-12-03T21:32:24.740000+00:00
Original source
yay
Archived author: Nocty1501 • Posted: 2023-12-03T21:32:26.540000+00:00
Original source
❤️
Archived author: Nocty1501 • Posted: 2023-12-03T21:33:06.540000+00:00
Original source
it seems it gets called twice when you press accept