9
3

aFreeportconscript.lua 1.1 KB

123456789101112131415161718192021222324252627282930
  1. --[[
  2. Script Name : SpawnScripts/Freeport/aFreeportconscript.lua
  3. Script Author : Premierio015
  4. Script Date : 2020.07.11 08:07:36
  5. Script Purpose :
  6. :
  7. --]]
  8. function spawn(NPC)
  9. end
  10. function hailed(NPC, Spawn)
  11. FaceTarget(NPC, Spawn)
  12. if GetRace(NPC) == 0 and GetGender(NPC) == 1 then
  13. local choice = math.random(1, 3)
  14. if choice == 1 then
  15. PlayFlavor(NPC, "voiceover/english/barbarian_eco_race_evil/ft/eco/evil/barbarian_eco_race_evil_hail_gm_dd0b4913.mp3", "Hah! New around these parts?", "hello", 3252919562, 342739868, Spawn)
  16. elseif choice == 2 then
  17. PlayFlavor(NPC, "voiceover/english/barbarian_eco_race_evil/ft/eco/evil/barbarian_eco_race_evil_darkelf_gm_bc3d6b10.mp3", "Straying a bit, are we?", "glare", 4033200255, 1327891280, Spawn)
  18. else
  19. PlayFlavor(NPC, "voiceover/english/barbarian_eco_race_evil/ft/eco/evil/barbarian_eco_race_evil_hail_gm_431b37d1.mp3", "Watch yerself, this city can be rough.", "wink", 1560541305, 226492698, Spawn)
  20. end
  21. end
  22. end
  23. function respawn(NPC)
  24. end