11 lines
247 B
Plaintext
11 lines
247 B
Plaintext
addEvent("onReceiveClientPassword");
|
|
|
|
addEventHandler("onPacket", function(data){
|
|
local id = data.readUInt8();
|
|
if (id == 250)
|
|
{
|
|
local client_password = data.readString();
|
|
callEvent("onReceiveClientPassword", client_password);
|
|
}
|
|
})
|