so even default tp-npc didnt work?
if you want to learn how to make any npc - found npc's with same functions(sale,tp,trade,appareals) and copy it with your conditions
*****
Open resource/script/MisSdk/MissionSdk.lua
ctrl+f "SetProfession then"
and after "end" (and befotre next "elseif") paste this
elseif actions[i].func == GoTo then
PRINT( "ActionsProc:GoTo, p1 = , p2 = , p3 = ", actions[i].p1, actions[i].p2, actions[i].p3 )
local ret = GoTo( character, actions[i].p1, actions[i].p2, actions[i].p3 )
PRINT( "Goto: ret = ", ret )
if ret ~= LUA_TRUE then
PRINT( "ActionsProc:GoTo Не удалось!" )
SystemNotice( character, "ActionsProc:GoTo Не удалось!" )
return LUA_FALSE
end
I hope it help you