Skip to content

1.0.0

Latest

Choose a tag to compare

@kekobka kekobka released this 28 Jun 19:49

dll ставишь в lua/bin
image
в дискорде будет появляться статус когда ты на сервере
image

Api

grpc.setLargeImage(string)
grpc.setLargeText(string)
grpc.setSmallImage(string)
grpc.setSmallText(string)
grpc.setState(string)
grpc.setButton1(string, string)
grpc.setButton2(string, string)
grpc.setClientID(string)
grpc.close()
grpc.reconnect()
grpc.connect()
grpc.update()

Example

if not util.IsBinaryModuleInstalled("grpc") then
	return
end
require("grpc")

grpc.connect()

timer.Create("grpc_update", 120, 0, function()
	grpc.setState(player.GetCount() .. " / " .. game.MaxPlayers())
	grpc.update()
end)

Full Changelog: 0.2.0...1.0.0