Help With Addnpcpassenger()

hi all, i’m trying to put an npc on a transport, so i have found function AddNPCPassenger but i have some questions:

uint32 Transport::AddNPCPassenger(uint32 tguid, uint32 entry, float x, float y, float z, float o, uint32 anim)[/CODE]

x, y, z, and o are coord related to the transport ? how i can found it?

thanks…

Those are offsets from the transport’s centre afaik. I think these coordinates are found in SMSG_MONSTER_MOVE_TRANSPORT packets.

thanks /emoticons/default_smile.png