Difference between revisions of "LUA:GetClientVersion"
(Created page with "{{PageHeaderChild|LUA|GetClientVersion}} = LUA Functions: GetClientVersion() = Gets the data version for the client ==== Syntax ==== GetClientVersion(param1) ==== Paramet...") |
(No difference)
|
Latest revision as of 01:03, 18 June 2018
LUA - GetClientVersion
Return to: LUA | Tutorials | Portal | Forum | Project Manager | Bug Tracker
LUA Functions: GetClientVersion()
Gets the data version for the client
Syntax
GetClientVersion(param1)
Parameters
- Required - param1 (Spawn)
- param1 is the player to get the data version for
Usage
function hailed(NPC, Spawn)
Say(NPC, "Your data version is " .. GetClientVersion(Spawn))
end
When the NPC is hailed it will reply with the players data version
Notes
Can only be use on a player.