Scofield
New Member
I want to make commands like !teleport Enigma City , and !teleport Darashia etc... i have like 12 towns in my mab, so i want thie !teleport to be the same or may be /teleport if it's hard to make ! but i saw in many OTs.
Now about the script i can script it as well but i faled to add the command that Preventing players form teleport while the have Battle Sign for example
Use when u dont have battle sign and it will teleport you
Use while u have battle sign and it will say You may not teleport while u have a battle sign
I use this script and it keep saying u have battle sign wheter i have or not it keeps giving me that can someone tell me what to do or what is the right Function ?
Thanks in advance
Amir
Now about the script i can script it as well but i faled to add the command that Preventing players form teleport while the have Battle Sign for example
Use when u dont have battle sign and it will teleport you
Use while u have battle sign and it will say You may not teleport while u have a battle sign
I use this script and it keep saying u have battle sign wheter i have or not it keeps giving me that can someone tell me what to do or what is the right Function ?
Code:
function onSay(cid, words, param)
if(isPlayerPzLocked ~= TRUE) then
doPlayerSendTextMessage(cid, 22, "You are PZ Locked, you can't use this")
else
--Code
end
return TRUE
end
Thanks in advance
Amir