You are viewing an old version of this page. Return to the latest version.
Version of 17:04, 11 September 2013 by I need to Update My Profile
No categories assigned
LUA:GetMount
- Last edited 12 years ago by I need to Update My Profile
LUA Functions: GetMount()
Gets the mount of the given spawn
Syntax
GetMount(param1)
Parameters
- Required - param1 (Spawn)
- param1 is the spawn who's mount we want to get
Usage
function hailed(NPC, Spawn)
Say(NPC, "Your mount is: " .. GetMount(Spawn))
end
The NPC will respond with the model id of the players mount
Notes
Returns an int32, the model id of the mount