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