heres the code for a queiry of the portal
Code:INSERT INTO gameobject_names (entry, Type, DisplayID, Name) VALUES (id, 22, displayid, 'name')
that should work if it dosent tell me and ill fix it
Likes: 0
its a simple code (put it in notepad):
function Teleporting_onUse (pUnit, Event, pMisc)
pMisc:Teleport (Map ID, X cord, Y cord, Z cord)
end
RegisterGameObjectEvent (Object id, 2, 'Teleporting_onUse')
then just save it as name.lua
Insert this into your DB
Credits to Vashidu for SQL QueryCode:INSERT INTO gameobject_names (entry, Type, DisplayID, Name) VALUES (id, 22, displayid, 'name')
› See More: Portals
Last edited by *Alexz*; 06-08-08 at 12:21 PM.
heres the code for a queiry of the portal
Code:INSERT INTO gameobject_names (entry, Type, DisplayID, Name) VALUES (id, 22, displayid, 'name')
that should work if it dosent tell me and ill fix it
Last edited by Vashidu; 05-08-08 at 09:46 PM.
i messed up on that code i just realized that it needs to be like this
i changed the type from 22 which uses teleportspells or sum stuff but type 2 dosent so change ur portals to type 2 which dosent need spellsCode:INSERT INTO gameobject_names (entry, Type, DisplayID, Name) VALUES (id, 2, displayid, 'name')
Last edited by Vashidu; 14-08-08 at 10:31 AM.
Project Silvermoon Fundb Moderator
[SIGPIC][/SIGPIC]
Very nice !!!for u vashidu and Alexz
![]()
Very simple and old
But thanks again.
Please goto this site "http://wwww.bux.to/index.php" and refer me when signing up, i have got paid $5,000 to my PayPal account
Bookmarks