Create Portal

Click here to participate in creation and interaction!
Create

Guide: Register the client communication protocol

2022.03.31 134 0
Share

PackageHandlers.registerClientHandler("LevelSendClient", function(player, packet)    if (packet[1] == "")    then        print("packet[1] is empty")        packet[1] = 1    end    Me:setValue("level",packet[1]) end) PackageHandlers.registerClientHandler("ExpSendClient", function(player, packet)    if (packet[1] == "") Then        print("packet[1] is empty")        packet[1] = 0    end    Me:setValue("exp",packet[1]) end)


Reply

You have the same problem?

CANCEL SEND OUT

Post report

Please select the report type*

Please fill in the reason for reporting*

CANCEL SEND OUT