• 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!
  • 2026 staff recruitment is open! Check it out and consider applying!

rs remover

Nie, próbowałem wszystkich skryptów i ten jedynie działa (prawie) inne wgl nie działają.
 
Jeżeli nie będziesz miał już innego wyboru proponuję także usunięcie Rs itemem, usuwa od razu, nie trzeba nawet relogować.

items
Code:
	<item id="9969" article="a" name="remove red skull">
		<attribute key="weight" value="2400" />
	</item>

action/actions

Code:
<action itemid="9969" event="script" value="skull.lua"/>

skull.lua

Code:
local config =
{
    item = 9969,  -- WPISZ ID ITEMA KTÓRY MA USUWAĆ FRAGI PRAWYM KLIKNIĘCIEM 
    level = 1,
    count = 0
}
function onUse(cid, item, frompos, item2, topos)
if getPlayerLevel(cid) >= config.level then
        doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, "Your frags has been removed.")
        doRemoveItem(item.uid)
        db.executeQuery("UPDATE `killers` SET `unjustified` = 0 WHERE `id` IN (SELECT `kill_id` FROM `player_killers` WHERE `player_id` = " .. getPlayerGUID(cid) .. ")")
        doPlayerSetSkullEnd(cid, 0, SKULL_RED)  
    else
        doPlayerSendCancel(cid, "You dot have enough level")
    end
    return TRUE
end

Działać na pewno działa, także mam 0.3.6pl
 
LUA:
local config =
{
    item = xxxx,
    level = 1,
    count = 0
}
function onUse(cid, item, frompos, item2, topos)
if getPlayerLevel(cid) >= config.level then
        doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, "Your frags have been removed.")
        doRemoveItem(item.uid)
        db.executeQuery("UPDATE `killers` SET `unjustified` = 0 WHERE `id` IN (SELECT `kill_id` FROM `player_killers` WHERE `player_id` = " .. getPlayerGUID(cid) .. ")")
        doPlayerSetSkullEnd(cid, 0, SKULL_RED)  
        doPlayerSetSkullEnd(cid, 0, SKULL_BLACK) 
    else
        doPlayerSendCancel(cid, "You dot have enough level")
    end
    return TRUE
end
 
Back
Top