mirror of
https://github.com/ErikasKontenis/SabrehavenServer.git
synced 2025-10-14 14:44:55 +02:00
Resolve "Merge the best from 7.40 branch"
This commit is contained in:
10
data/talkactions/scripts/vial.lua
Normal file
10
data/talkactions/scripts/vial.lua
Normal file
@@ -0,0 +1,10 @@
|
||||
function onSay(player, words, param)
|
||||
if player:getStorageValue(17742) ~= 1 then
|
||||
player:sendTextMessage(MESSAGE_STATUS_CONSOLE_BLUE, "Vials auto removing enabled.")
|
||||
player:setStorageValue(17742, 1)
|
||||
else
|
||||
player:sendTextMessage(MESSAGE_STATUS_CONSOLE_BLUE, "Vials auto removing disabled.")
|
||||
player:setStorageValue(17742, 0)
|
||||
end
|
||||
return false
|
||||
end
|
Reference in New Issue
Block a user