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

[Shower] Editing script

SensiiTychy

New Member
Joined
Feb 4, 2009
Messages
95
Reaction score
0
Subject to those who can, and they are bored.
I needs someone with my script edited the shower:

Code:
function onUse(cid, item, frompos, item2, topos)
local koszt = 200 --ile ma kosztowac kompiel
local ppos = getPlayerPosition(cid)
local efekt = {23, 30, 53}
local kolor = {TEXTCOLOR_RED, TEXTCOLOR_BLUE, TEXTCOLOR_YELLOW, TEXTCOLOR_ORANGE, TEXTCOLOR_LIGHTGREEN, TEXTCOLOR_TEAL, TEXTCOLOR_LIGHTGREY, TEXTCOLOR_LIGHTBLUE, TEXTCOLOR_WHITE_EXP, TEXTCOLOR_DARKRED}
local frazy = {"Szuru", "Buru", "Bur!", "Szur...", "Ohhhh", "Szurr", "Szur", "Burrr", "LaLaLa", "Czysty"}
if item.actionid == 2151 then
if doPlayerRemoveMoney(cid, koszt) == TRUE then
doCreateItem(2016,1,ppos)
doSendMagicEffect(ppos,efekt[math.random(1, #efekt)])
doSendMagicEffect(ppos,efekt[math.random(1, #efekt)])
doSendAnimatedText(ppos,frazy[math.random(1, #frazy)],kolor[math.random(1, #kolor)])
else
doPlayerSendCancel(cid,'Musisz miec '..koszt..' pieniedzy, aby sie wykompac.')
end
end
end

So that by X hours after washing mana faster to load.
I will give repute ^:^
 
Back
Top