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
var = 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