Likes: 0
Results 1 to 8 of 8
Thread: Portals
-
04-08-08, 08:42 PM #1
Portals
Register to remove this adits 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
Code:INSERT INTO gameobject_names (entry, Type, DisplayID, Name) VALUES (id, 22, displayid, 'name')
› See More: PortalsLast edited by *Alexz*; 06-08-08 at 12:21 PM.
-
05-08-08, 09:18 PM #2
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 itLast edited by Vashidu; 05-08-08 at 09:46 PM.
-
05-08-08, 10:45 PM #3
-
06-08-08, 12:43 AM #4
-
06-08-08, 12:20 PM #5
-
14-08-08, 08:46 AM #6
i messed up on that code i just realized that it needs to be like this
Code: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]
-
31-08-08, 09:13 AM #7
Very nice !!! for u vashidu and Alexz
-
05-09-08, 10:40 AM #8
Register to remove this adVery 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
Related Threads - Scroll Down after related threads if you are only interested to view replies for above post/thread
Visitors found this page by searching for:
Nobody landed on this page from a search engine, yet!
SEO Blog