I’m having an issue with sending tables through Packet even though I followed the video
this is the table I’m trying to send, all attributes are number type, stealth attribute is boolean
I’m having an issue with sending tables through Packet even though I followed the video
this is the table I’m trying to send, all attributes are number type, stealth attribute is boolean
humm I’m not seeing a problem with what you have sent
what’s GameLoopMain line 73
this one " NPCInfoPacket:Fire"
Sending it from server to all clients and the server side is where it’s getting the error
I also made a post in your discord’s “help” channel
I switched from Boolean1 to Boolean8 because I only need true and false and made the numbers into a table
New packet:
but it thinks I’m still using boolean1 ?
I now changed the name of the packet and it is now able to send the data to the clients
How the table is set up
it prints the attributes as expected
the client is receiving nothing, the table is empty
Is there no way to define separate types for what is received on the server-side and what’s received on the client-side?
There is. Pretty sure this works:
local myPacket = Packet("MyPacket", Packet.NumberU16):Response(Packet.CFrame)
You can essentially create RemoteFunctions, although they are named responses in Packet.