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

Search results

  1. kermaxpl

    Someone? Isn't impossible

    Login.lua local config = { loginMessage = getConfigValue('loginMessage'), useFragHandler = getBooleanFromString(getConfigValue('useFragHandler')) } function onLogin(cid) local loss = getConfigValue('deathLostPercent') if(loss ~= nil) then doPlayerSetLossPercent(cid...
  2. kermaxpl

    doCreatureAddHealth. text color

    Yes but, I haven't doPlayerSendTextMessage(player1.uid,22,"+500 HP!"), it looks like doCreatureAddHealth send this text automatically, and I want to change color of text sended with this function.
  3. kermaxpl

    doCreatureAddHealth. text color

    Hi, how can i change color of text which say how many health was added to creature in function doCreatureAddHealth?
  4. kermaxpl

    Problem with change outfit script

    Try to change doPlayerAddOutfit(cid, outfit) to doCreatureChangeOutfit(cid, outfit)
  5. kermaxpl

    GetItemAttribute. Item not found. Help

    Hey guys, again me :D I want to do spell which will do aoe every 3 player's autoattacks. I add this in actions. function onUse(cid, item, fromPosition, itemEx, toPosition) if getPlayerVocation(cid) == 4 then if getCreatureStorage(cid, 99996) ~= 3 then doCreatureSetStorage(cid, 99996...
  6. kermaxpl

    come here come here

    hmm... It don't count kills and idk why, someone with better experience with tfs than me should help u. I'm a begginer too. Sorry
  7. kermaxpl

    come here come here

    Your database keep storages in 'players_storage' table u can check it with phpmyadmin or navicat for exmaple. It changes on kill it is some problem with doCreatureSay(cid, "You killed 50 players", TALKTYPE_ORANGE_1) it it doens't change on kill it is a problem with "if". U can try this...
  8. kermaxpl

    come here come here

    If u don't use it with another script u can. Did u check that value of storage was changed in database ?
  9. kermaxpl

    come here come here

    Second. Not tested but try this in creaturescripts/scripts/killing.lua local frags = 50000 function onKill(cid, target, lastHit) if isPlayer(target) then if getCreatureStorage(cid, frags) > 0 and getCreatureStorage(cid, frags) ~= 50 then doCreatureSetStorage(cid, frags...
  10. kermaxpl

    Why is my custom monster not working?

    Read topic it is solved...
  11. kermaxpl

    Why is my custom monster not working?

    <movevent event="StepIn" itemid="1698-1699" script="sofa.lua"/> function onStepIn(cid, item, position, lastPosition, fromPosition, toPosition, actor) doCreatureSay(cid, "Such a chill sofa", TALKTYPE_ORANGE_1) return true end Now should work.
  12. kermaxpl

    Why is my custom monster not working?

    With movement try: <movevent type="StepIn" itemid="1698-1699" event="script" value="sofa.lua"/> function onStepIn(cid, item, fromPosition, itemEx, toPosition) doCreatureSay(cid, "Such a chill sofa", TALKTYPE_ORANGE_1) return TRUE end If still nothing post error message. And pls use "[...
  13. kermaxpl

    Spell which can bounce between monsters

    this is error 'can't get player's target' and u want to check multitarget, pls read error before u post -- Edit I added your "if" and changed 'getCreaturePosition(target)' to 'getCreaturePosition(cid)', but I still have [19:31:52.913] [Error - Spell Interface] [19:31:52.913] In a timer event...
  14. kermaxpl

    Spell which can bounce between monsters

    Now i have: function getpos(cid) local target = getCreatureTarget(cid) local playernumber = 0 local playersInRange = {} local multitarget = getSpectators(getCreaturePosition(target), 5, 5, FALSE) for i = 1, #multitarget do local creatureToHit = multitarget[i] if...
  15. kermaxpl

    Spell which can bounce between monsters

    and take dmg to them, but it should work too
  16. kermaxpl

    Spell which can bounce between monsters

    I have never used this function can u help me??
  17. kermaxpl

    Spell which can bounce between monsters

    I was trying to do some remake of Gesior's function but it wasn't work Here is part of this script which makes error function getpos() local target = getCreatureTarget(cid) local pPos = getCreaturePosition(target) local playernumber = 0 local playersInRange = {} local pozycje = {...
  18. kermaxpl

    Spell which can bounce between monsters

    Hi, guys i need spell which can bounce betwen monsters in area 3x3 near target 5 times. Can u help me? - - - Updated - - - Bump
  19. kermaxpl

    Spell Charge Spell

    It won't be shared for free anymore.
Back
Top