123456789101112131415161718192021222324 |
- --[[
- Script Name : SpawnScripts/ScaleYard2/aMilitiaguardSarnak.lua
- Script Author : Premierio015
- Script Date : 2020.08.30 10:08:02
- Script Purpose :
- :
- --]]
- function spawn(NPC)
- SetPlayerProximityFunction(NPC, 50, "InRange", "InRange")
- end
- function hailed(NPC, Spawn)
- FaceTarget(NPC, Spawn)
- end
- function respawn(NPC)
- end
- function InRange(NPC, Spawn)
- PlayersLevel = GetLevel(Spawn)
- SpawnSet(NPC, "level", PlayersLevel)
- end
|