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

Runa usuwajaca RS'a

pele112

Member
Joined
Aug 9, 2007
Messages
572
Reaction score
8
Location
Wodzisław Śląski
Witam mam taki problem używam SVN_0.3.5r2005(TFS) no i mam taki problem bo ta runka nie chce usuwać rsa
-- Skull remove by Gelio
-- With little Gesior's help (frags remove)
function onUse(cid, item, frompos, item2, topos)
local zabieraLadunki = "tak" -- Czy zabiera ladunki runy
local usuwaRedSkulla = "tak" -- Czy usuwa red skulla
if((getPlayerSkullType(cid) ~= SKULL_RED or usuwaRedSkulla == "tak") or getPlayerSkullType(cid) ~= SKULL_GREEN) then
doCreatureSetSkullType(cid, SKULL_NONE)
doPlayerSendTextMessage(cid,MESSAGE_STATUS_CONSOLE_BLUE,"You don't have any skull now.")
doSendMagicEffect(getPlayerPosition(cid),CONST_ME_MAGIC_RED)
doPlayerSetRedSkullTicks(cid, 0) -- Usuwanie fragow. Usuniesz ta linijkę to nie będzie brać fragów
else
doPlayerSendCancel(cid,"You can't remove red or green skull.")
end
if(zabieraLadunki == "tak") then
if(item.type > 1) then
doChangeTypeItem(item.uid, item.type-1)
else
doRemoveItem(item.uid,1)
end
end
end
Dodam jeszcze, że rs zniknie a jak sie już relognie to znowu jest :p
 
Last edited:
Back
Top