No categories assigned
LUA:GetModelType
- Last edited 12 years ago by I need to Update My Profile
LUA Functions: GetModelType()
Gets the model id for the given spawn
Syntax
var = GetModelType(param1)
Parameters
- Required - param1 (Spawn)
- param1 is the spawn we want the model type for
Usage
function hailed(NPC, Spawn)
Say(NPC, "Your model type is: " .. GetModelType(Spawn))
end
The NPC will respond with the players model type when hailed
Notes
Returns an int32