what is this version?
table: 0x40f73848
how I can verify this?
local clientVersion = player:getClient().version
if clientVersion == 1099 then
player:say("Hello, my version is " .. clientVersion .. "!", 1)
end
How to print the client version? like 10.95 10.98...
tried print(player:getClient()) but this returns a table
tfs 1.2
thanks
(table: 0x16468f10)
{
["version"] = (number) 1099
["os"] = (number) 10
}
print(player:getClient().version)
The content of this returned table is, for example:
LUA:(table: 0x16468f10) { ["version"] = (number) 1099 ["os"] = (number) 10 }
It means you could get the client version like 1099 by:
LUA:print(player:getClient().version)
what is this version?
table: 0x40f73848
how I can verify this?
local clientVersion = player:getClient().version
if clientVersion == 1099 then
player:say("Hello, my version is " .. clientVersion .. "!", 1)
end
'-'
Just do something like:
LUA:local clientVersion = player:getClient().version if clientVersion == 1099 then player:say("Hello, my version is " .. clientVersion .. "!", 1) end
Code:local version = player:getClient()["version"]
player:getClient()["version"]
player:getClient().version
this printing the min version from definitions o/
is the same asLUA:player:getClient()["version"]as I know. xdLUA:player:getClient().version
Choose my answer as the best if worked. '-'