function onSay(cid, words, param)
local player = Player(cid)
local guild = player:getGuild()
if(guild == nil) then
player:sendCancelMessage("You need to be in a guild in order to execute this talkaction.")
return false
end
local guild = getPlayerGuildId(cid)
if not guild or (player:getGuildLevel()...
Hmm i think it needs like a lua code and add creature:setEmblem(GUILDEMBLEM_MEMBER) if player is in guild. Because gesior solution is about updating emblems when on warCheck out this thread, might have the solution for you!
(ignore thread owner question, but I believe Gesior linked a complete function to set and update emblems.
Hello everyone!
I have a problem, I added the war system to TFS 1.5 8.60 downgrade by Nekiro, everything works - only for the 'emblem' shields to appear, I have to relog the characters. I use OTCv8
Could anyone help fix this?
warsystem.lua
function onSay(cid, words, param)
local player = Player(cid)
local guild = player:getGuild()
if(guild == nil) then
player:sendCancelMessage("You need to be in a guild in order to execute this talkaction.")
return false
end
local guild = getPlayerGuildId(cid)
if not guild or (player:getGuildLevel()...
- Dark Magican
- Replies: 5
- Forum: Support
You can add creature:getEmblem(), creature:setEmblem(emblem) · infernumx/forgottenserver@209fbd5 (https://github.com/infernumx/forgottenserver/commit/209fbd51191ac2def5c9cdc979527278b24edcf9#diff-eb01d79b279ebf659ed73216c0b3c490685221c9358e058ce55a1c8ab4e99c35R1259-R1275)