addEvent("onReceiveClientPassword"); addEventHandler("onPacket", function(data){ local id = data.readUInt8(); if (id == 250) { local client_password = data.readString(); callEvent("onReceiveClientPassword", client_password); } })