feat: Добавлена авторизация через UDP пакеты
This commit is contained in:
9
include/client/main.nut
Normal file
9
include/client/main.nut
Normal file
@@ -0,0 +1,9 @@
|
||||
CLIENT_PASSWORD <- "";
|
||||
|
||||
addEventHandler("onPacket", function(data){
|
||||
local id = data.readUInt8();
|
||||
if (id == 250)
|
||||
{
|
||||
CLIENT_PASSWORD = data.readString();
|
||||
}
|
||||
})
|
||||
Reference in New Issue
Block a user