Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- quest say_mob begin
- state start begin
- when kill begin
- local SET_MOB = {
- {101, "Ciao, sono un cane"},
- {102, "Ciao, sono un Lupo"},
- {103, "Ciao, sono un Lupo Alfa"},
- }
- for i = 1, table.getn (SET_MOB) do
- if npc.get_race() == SET_MOB[i][1] then
- syschat (string.format("%s: %s", mob_name(SET_MOB[i][1]), SET_MOB[i][2]))
- return
- end
- end
- end
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment