Follow along with the video below to see how to install our site as a web app on your home screen.
Notka: This feature may not be available in some browsers.
Our partners and their custom servers:
function onUse(cid, item, fromPosition, itemEx, toPosition)
local playerPos = getCreaturePosition(cid)
doCreatureAddHealth(cid, getCreatureMaxHealth(cid) - getCreatureHealth(cid))
doSendAnimatedText(playerPos, "I heal", 210)
end
function onUse(cid, item, frompos, item2, topos)
local p = (getCreatureMaxHealth(cid)-getCreatureHealth(cid))
if getCreatureHealth(cid) == getCreatureMaxHealth(cid) then
doSendAnimatedText(getCreaturePosition(cid), "Full HP", TEXTCOLOR_RED)
else
doCreatureAddHealth(cid, p)
doSendAnimatedText(getCreaturePosition(cid), "Uleczono o "..p.." HP", TEXTCOLOR_RED)
end
return true
end
color_black = 0
color_blue = 5
color_green = 18
color_teal = 35
color_lightgreen = 66
color_darkbrown = 78
color_lightblue = 89
color_darkpurple = 112
color_brown = 120
color_grey = 129
color_darkred = 144
color_darkpink = 152
color_purple = 154
color_darkorange = 156
color_red = 180
color_pink = 190
color_orange = 192
color_darkyellow = 205
color_yellow = 210
color_white = 215
color_none = 255
-- By ErMex
local tablica = {
[3001] = {addon = 1, looktype = {136, 128}, text = "1 addon Citizen"},
[3002] = {addon = 2, looktype = {136, 128}, text = "2 addon Citizen"},
[3003] = {addon = 1, looktype = {137, 129}, text = "1 addon Hunter"},
[3004] = {addon = 2, looktype = {137, 129}, text = "2 addon Hunter"},
[3005] = {addon = 1, looktype = {138, 130}, text = "1 addon Mage"},
[3006] = {addon = 2, looktype = {138, 130}, text = "2 addon Mage"},
[3007] = {addon = 1, looktype = {139, 131}, text = "1 addon Knight"},
[3008] = {addon = 2, looktype = {139, 131}, text = "2 addon Knight"},
[3010] = {addon = 1, looktype = {140, 132}, text = "1 addon Noblewoman"},
[3011] = {addon = 2, looktype = {140, 132}, text = "2 addon Noblewoman"},
[3012] = {addon = 1, looktype = {141, 133}, text = "1 addon Summoner"},
[3013] = {addon = 2, looktype = {141, 133}, text = "2 addon Summoner"},
[3014] = {addon = 1, looktype = {142, 134}, text = "1 addon Warrior"},
[3015] = {addon = 2, looktype = {142, 134}, text = "2 addon Warrior"},
[3016] = {addon = 1, looktype = {147, 143}, text = "1 addon Barbarian"},
[3017] = {addon = 2, looktype = {147, 143}, text = "2 addon Barbarian"},
[3018] = {addon = 1, looktype = {148, 144}, text = "1 addon Druid"},
[3019] = {addon = 2, looktype = {148, 144}, text = "2 addon Druid"},
[3020] = {addon = 1, looktype = {149, 145}, text = "1 addon Wizard"},
[3021] = {addon = 2, looktype = {149, 145}, text = "2 addon Wizard"},
[3022] = {addon = 1, looktype = {150, 146}, text = "1 addon Oriental"},
[3023] = {addon = 2, looktype = {150, 146}, text = "2 addon Oriental"},
[3024] = {addon = 1, looktype = {155, 151}, text = "1 addon Pirate"},
[3025] = {addon = 2, looktype = {155, 151}, text = "2 addon Pirate"},
[3026] = {addon = 1, looktype = {156, 152}, text = "1 addon Assassin"},
[3027] = {addon = 2, looktype = {156, 152}, text = "2 addon Assassin"},
[3028] = {addon = 1, looktype = {157, 153}, text = "1 addon Beggar"},
[3029] = {addon = 2, looktype = {157, 153}, text = "2 addon Beggar"},
[3030] = {addon = 1, looktype = {158, 154}, text = "1 addon Shaman"},
[3031] = {addon = 2, looktype = {158, 154}, text = "2 addon Shaman"},
[3032] = {addon = 1, looktype = {252, 251}, text = "1 addon Norsewoman"},
[3033] = {addon = 2, looktype = {252, 251}, text = "2 addon Norsewoman"},
[3034] = {addon = 1, looktype = {269, 268}, text = "1 addon Nightmare"},
[3035] = {addon = 2, looktype = {269, 268}, text = "2 addon Nightmare"},
[3036] = {addon = 1, looktype = {270, 273}, text = "1 addon Jester"},
[3037] = {addon = 2, looktype = {270, 273}, text = "2 addon Jester"},
[3038] = {addon = 1, looktype = {279, 278}, text = "1 addon Brotherhood"},
[3039] = {addon = 2, looktype = {279, 278}, text = "2 addon Brotherhood"},
[3040] = {addon = 1, looktype = {288, 289}, text = "1 addon Demonhunter"},
[3041] = {addon = 2, looktype = {288, 289}, text = "2 addon Demonhunter"},
[3042] = {addon = 1, looktype = {324, 325}, text = "1 addon Yalaharian"},
[3043] = {addon = 2, looktype = {324, 325}, text = "2 addon Yalaharian"},
[3044] = {addon = 1, looktype = {329, 328}, text = "1 addon Weeding"},
[3045] = {addon = 2, looktype = {329, 328}, text = "2 addon Weeding"},
[3046] = {addon = 1, looktype = {336, 335}, text = "1 addon Warmaster"},
[3047] = {addon = 2, looktype = {336, 335}, text = "1 addon Warmaster"},
}
function onUse(cid, item, fromPosition, itemEx, toPosition)
local zmienna = tablica[item.actionid]
if getPlayerSex(cid) == PLAYERSEX_MALE then
doPlayerAddOutfit(cid, zmienna.looktype[1], zmienna.addon)
doPlayerSendTextMessage(cid,MESSAGE_INFO_DESCR, "Otrzymales "..zmienna.text..".")
elseif getPlayerSex(cid) == PLAYERSEX_FEMALE then
doPlayerAddOutfit(cid, zmienna.looktype[2], zmienna.addon)
doPlayerSendTextMessage(cid,MESSAGE_INFO_DESCR, "Otrzymalas "..zmienna.text..".")
end
return true
end
<action fromaid="3001" toaid="3047" event="script" value="twoja nazwa.lua"/>
<?xml version="1.0" encoding="UTF-8"?>
<monster name="Kongra" nameDescription="a kongra" race="blood" experience="115" speed="200" manacost="0">
<health now="340" max="340"/>
<look typeex="1025" corpse="6043"/>
<targetchange interval="5000" chance="20"/>
<strategy attack="100" defense="0"/>
<flags>
<flag summonable="0"/>
<flag attackable="1"/>
<flag hostile="1"/>
<flag illusionable="1"/>
<flag convinceable="0"/>
<flag pushable="0"/>
<flag canpushitems="1"/>
<flag canpushcreatures="0"/>
<flag targetdistance="1"/>
<flag staticattack="90"/>
<flag runonhealth="10"/>
</flags>
<attacks>
</attacks>
<defenses armor="18" defense="14">
</defense>
</defenses>
<elements>
<element firePercent="20"/>
<element earthPercent="10"/>
<element energyPercent="5"/>
<element icePercent="-15"/>
<element deathPercent="-5"/>
</elements>
<voices interval="5000" chance="10">
<voice sentence="Hugah!"/>
<voice sentence="Ungh! Ungh!"/>
<voice sentence="Huaauaauaauaa!"/>
</voices>
<loot>
<item id="2148" countmax="40" chance="100000"/><!-- gold coin -->
<item id="5883" chance="1000"/><!-- ape fur -->
<item id="1987" chance="100000"><!-- bag -->
<inside>
<item id="2676" countmax="11" chance="5000"/><!-- banana -->
<item id="2200" chance="2000"/><!-- protection amulet -->
<item id="2209" chance="3857"/><!-- club ring -->
<item id="2166" chance="1529"/><!-- power ring -->
<item id="2463" chance="1667"/><!-- plate armor -->
<item id="7618" chance="1467"/><!-- health potion -->
</inside>
</item>
</loot>
</monster>
registerCreatureEvent(cid, "Nazwa_Skryptu")
<event type="outfit" name="nazwa_skryptu" event="script" value="nazwa_skryptu.lua"/>