What's new

Skrypty & Kody Teleport na komende w wybrane miejsce TFS 8.6

Status
Not open for further replies.

ancio

Advanced User
Joined
Mar 31, 2009
Messages
158
Reaction score
7
Witam poszukuj? skryptu na komende teleportuj?c? w wybrane miejsce co? typu !t1 !t2 !t3 !t4 i chce ?eby mo?na by?o jej uzywa? tylko w pz
 

kubalatka1

Active User
Joined
Oct 10, 2011
Messages
143
Reaction score
5
Odp: Teleport na komende w wybrane miejsce TFS 8.6

Tez poszukuje C:
 

Sh4dy

Advanced User
Joined
Dec 8, 2011
Messages
176
Reaction score
10
Odp: Teleport na komende w wybrane miejsce TFS 8.6

Ehh, bana?.
[lua]function onSay(cid, words, param)
if getTilePzInfo(getPlayerPosition(cid)) then
doTeleportThing(cid,{x=POZ, y=POZ, z=POZ})
doSendMagicEffect(getCreaturePosition(cid), CONST_ME_TELEPORT)
doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "You have successfully teleported to T1.")
else
doPlayerSendCancel(cid, "Sorry, you must stand in protection zone.")
doSendMagicEffect(getCreaturePosition(cid), 2)
end
return true
end[/lua]
Code:
<talkaction words="!t1" event="script" value="t1.lua" />

Pomog?em daj rep+.
 
Status
Not open for further replies.
Top