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

To all who has tfs0.3.5 and they use town id 2

arheon

Own3d PlAx.'?
Joined
Aug 31, 2009
Messages
92
Reaction score
3
I dont know whats really wrong with that id.
But most of things dont work with that!
Its hell number !
Heres some exemples:
I got a new nice one script for my ot.
When a player kills another one he got a nugget.
But if a player with town_id 2 KILLS SOMEONE function onKill dont do NOTHING !
If i change the player town_id from 2 to 3 or any other number it works perfect.
Heres the script
PHP:
-- Credits to Shawak
function onKill(cid, target)
    local cidpos = getPlayerPosition(target)
    loot = 2157
    item = doPlayerAddItem(cid,loot,1)
    if(isPlayer(target) == TRUE) then
        doSetItemSpecialDescription(item,"This is the nugget awarded to "..getPlayerName(cid).." for killing  "..getPlayerName(target).." at Level "..getPlayerLevel(target)..".")
        doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_ORANGE, "You Killed "..getPlayerName(target).. ".")
        doSendMagicEffect(cidpos,12)
    end
    setItemName(item, "Golden Nugget")
    return TRUE
end
Another exemple we got here :
Change town id- Otland.net
or here YouTube - CrashServ ChangeTown

I dont know whats wrong , but i think its source issue or something.
Just care guys with that id !!
If some1 would be good to fix that or well it should get fixed in next tfs version xD
 
Back
Top