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

Czary mary

Status
Not open for further replies.

BugaS

Donżuan
Joined
Mar 12, 2009
Messages
1,219
Reaction score
9
Location
NYC
Mam taki skrypt:

LUA:
function onUse(cid, item, fromPosition, itemEx, toPosition)
        if(getPlayerLearnedInstantSpell(cid, parameters.spellName)) then
                doPlayerSendCancel(cid, 'You already know this spell.')
                return true
        end
        
        playerLearnInstantSpell(cid, "Thunder Lights")
        return true
end

Do tego:

<action uniqueid="61893" script="czary/jedynka.lua" />
W spellach jest need learn i nazwa jest dobra.

Jak otwieram chesta to otwiera sie pusty chest bez nauki czaru.
 
konsola?
Sprobuj:
Code:
  function onUse(cid, item, fromPosition, itemEx, toPosition)
        if(getPlayerLearnedInstantSpell(cid, "Thunder Lights")) then
                doPlayerSendCancel(cid, 'You already know this spell.')
                return true
        end
       
        playerLearnInstantSpell(cid, "Thunder Lights")
        return true
end
 
Status
Not open for further replies.
Back
Top