• 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!

[REQUEST] Vip Script (talkaction)

president vankk

Web Developer & AuraOT Owner
Joined
Jul 10, 2009
Messages
5,719
Solutions
9
Reaction score
339
I need a script you speak, !vip and goes to a place "X"
and I do not use, the script vip OTLand.net, i use with this function:
Code:
if vip.hasVip(cid) == TRUE then
 
Code:
local area = {x = 1000, y = 1000, z = 7}

function onSay (cid, words, param, channel)
  if vip.hasVip(cid) then
    doTeleportThing(cid, area)
  else
    doPlayerSendCancel(cid, "Only VIP players can teleport.")
  end
  return true
end
 
Try this! Credits to zierworski denero!
Code:
local area = {x = 1000, y = 1000, z = 7}

function onSay (cid, words, param, channel)
local Position = getCreaturePosition(cid) 
	if vip.hasVip(cid) and getTilePzInfo(Position) == true then
		doTeleportThing(cid, area)
	else
		doPlayerSendCancel(cid, "Only VIP players can teleport.")
	end
return true
end
@ Beon
Come on you can do these scripts they are simple!
 
Code:
local area = {x = 1000, y = 1000, z = 7}

function onSay (cid, words, param, channel)
  if vip.hasVip(cid) and getTileInfo(pos).protection then
      doTeleportThing (cid, area)
    else
      doPlayerSendCancel(cid, "Only VIP Players can teleport.")
    end
  end
  return true
end

try
 
Last edited:
LUA:
[Error - TalkAtion Interface]
data/talkactions/scripts.php.lua:onSay
Description:
attempt to index a nil value
stack traceback:
       [C]: in function 'getTileInfo'
       data/talkactions/scripts/php.lua:5: in function <data/talkactions/scripts/php.lua:3>
 
which one? :P mine or 3753? i guess it's mine since pos doesn't mean anything
Code:
local area = {x = 1000, y = 1000, z = 7}

function onSay (cid, words, param, channel)
 local pos = getCreaturePosition(cid)
  if vip.hasVip(cid) and getTileInfo(pos).protection then
      doTeleportThing (cid, area)
    else
      doPlayerSendCancel(cid, "Only VIP Players can teleport.")
    end
  end
  return true
end
 
imagempvc.png
 
who's that :O

1000, 1000, 7 was the pos of the temple in evolutions

Xidaozu was the creator of evolutions

most of us (atleast the old ones) started with a evolution server, and the pos 1000 1000 7 became a very known pos A_A

forgot to mention: he and tala were always fighting in otfans o.o
 
Last edited:
Back
Top