Sign in to follow this  
Exygo

[QUEST] ITEM EXCHANGE

4 posts in this topic

25 minutes ago, Exygo said:

say_title("NPC NAME:")

Why this? Or you let him to put what name want for this? 

:huh:

function say_npc_name()
	local npc_talk = mob_name(npc.get_race());
	say_title(string.format("%s:", npc_talk))
end

Share this post


Link to post
Share on other sites
15 minutes ago, VegaS said:

Why this? Or you let him to put what name want for this? 

:huh:


function say_npc_name()
	local npc_talk = mob_name(npc.get_race());
	say_title(string.format("%s:", npc_talk))
end

I was 100% sure that you are gonna respond ...

 

They don't have this:

 

	function say_npc(e1)
    local race = 101
	    if npc.get_race() then
        race = npc.get_race()
    end
	    if e1 != nil then
        e1 = string.format(" - %s",e1)
        say_title(string.format("%s%s",mob_name(race),e1))
    else
        say_title(string.format("%s",mob_name(race)))
    end
end
	

And they are not so smart like you are, and yes i let them to put what name do they want, this is a simple quest.

 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.