All pastes #388164 Raw Edit

Stuff

public text v1 · immutable
·published 2007-03-09 21:42 UTC
rendered paste body
if action == GOSSIP_ACTION_INFO_DEF + 1 then
         -- teleport player to Stormwind
		 query = "SELECT `position_x` , `position_y` , `position_z` , `orientation` , `map` FROM `game_tele` WHERE `name`= `SW`";
		 tele1 = sDatabase:Query(query)
		 tele2 = tele1:Fetch() 
         player:TeleportTo(tele2[4]:GetInt32(), tele2[0]:GetInt32(), tele2[1]:GetInt32() , tele2[2]:GetInt32() , tele2[3]:GetInt32(), false, true );