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

Lua Transform script

adrenyslopez

Member
Joined
Dec 22, 2015
Messages
201
Reaction score
15
help me pass this script to revscriptsys please


Code:
<talkaction words="!cast" separator=" " script="start_cast.lua" />

Lua:
function onSay(player, words, param)
    if player:startLiveCast(param) then
        player:sendTextMessage(MESSAGE_INFO_DESCR, "You have started casting your gameplay.")
    else
        player:sendCancelMessage("You're already casting your gameplay.")
    end
    return false
end

--------------

Code:
<talkaction words="!stopcast" script="stop_cast.lua" />

Code:
function onSay(player, words, param)
    if player:stopLiveCast(param) then
        player:sendTextMessage(MESSAGE_INFO_DESCR, "You have stopped casting your gameplay.")
    else
        player:sendCancelMessage("You're not casting your gameplay.")
    end
    return false
end
 
help me pass this script to revscriptsys please


Code:
<talkaction words="!cast" separator=" " script="start_cast.lua" />

Lua:
function onSay(player, words, param)
    if player:startLiveCast(param) then
        player:sendTextMessage(MESSAGE_INFO_DESCR, "You have started casting your gameplay.")
    else
        player:sendCancelMessage("You're already casting your gameplay.")
    end
    return false
end

--------------

Code:
<talkaction words="!stopcast" script="stop_cast.lua" />

Code:
function onSay(player, words, param)
    if player:stopLiveCast(param) then
        player:sendTextMessage(MESSAGE_INFO_DESCR, "You have stopped casting your gameplay.")
    else
        player:sendCancelMessage("You're not casting your gameplay.")
    end
    return false
end
Lua:
local startCast = TalkAction('!cast')
function startCast.onSay(player, words, param)
    if player:startLiveCast(param) then
        player:sendTextMessage(MESSAGE_INFO_DESCR, "You have started casting your gameplay.")
    else
        player:sendCancelMessage("You're already casting your gameplay.")
    end
    return false
end
startCast:separator(' ')
startCast:register()
----------------------------------------------------------------------
local stopCast = TalkAction('!stopcast')
function stopCast.onSay(player, words, param)
    if player:stopLiveCast(param) then
        player:sendTextMessage(MESSAGE_INFO_DESCR, "You have stopped casting your gameplay.")
    else
        player:sendCancelMessage("You're not casting your gameplay.")
    end
    return false
end
stopCast:separator(' ')
stopCast:register()
 
Last edited:
Back
Top