No categories assigned
LUA:GetClientVersion
- Last edited 7 years ago by I need to Update My Profile
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.