No categories assigned
LUA:CopySpawnAppearance
- Last edited 11 years ago by I need to Update My Profile
LUA Functions: CopySpawnAppearance()
Copies the appearance details from one spawn to another.
Syntax
CopySpawnAppearance(param1, param2)
Parameters
- Required - param1 (Spawn), param2 (Spawn)
- param1 is the spawn we want to copy this appearance to
- param2 is the spawn we are copying the appearance from
Usage
function hailed(Spawn, Target)
CopySpawnAppearance(Spawn, Target)
end
When this NPC is hailed the appearance from the hailing player will be copied to the NPC.