• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Teleport spell

Nightimarez

New Member
Joined
Jul 24, 2008
Messages
287
Reaction score
2
I need a spell that looks something like this.

local target = getPlayerByNameWildcard(param)
function onCastSpell(cid, var)
if(param == '') and (not getTileInfo(fromPosition).protection) then
doTeleportThing(cid, target) else
doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "Cant teleport to players that are in protection zone.")
end
 
Back
Top