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

Czar z chesta

BugaS

Donżuan
Joined
Mar 12, 2009
Messages
1,219
Reaction score
9
Location
NYC
Potrzebuje skryptu, nie calego systemu, zeby po otwarciu skrzyni dostawac nowy spell.

Place $$
0.3.6
 
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, "Eternal Winter")
	return true
end
$$$
 
Dodaj sprawdzanie np.

if (getPlayerStorageValue(cid, 12345) == 1) then
doCombat(cid, combat, var)
else
wiadomosc, ze musi zrobic xxx quest
end

A storage 12345 bedzie dawać jakiś tam quest :)
 
Back
Top