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