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

Solved How to detect player in war or not, and how to Hide spell words in screen

suaterken

New Member
Joined
Feb 18, 2011
Messages
4
Reaction score
0
--Edit
im using TFS 1.0 version
--

Hi, im new here. Thank you for that community, i like it :)

My first question is:
local pz = player1:isPzLocked()

it gives if player1 attacked someone (skulled, really pz locked) then it gives true but
local pz1 = player2:isPzLocked()

if player2 attacked, it gives false. but i want to know if the player is in war.

i tried to change spells.cpp line
player->sendTextMessage(MESSAGE_INFO_DESCR, ss.str());
but it seems nothing changed

Second question is:
I want to hide spell words on screen, just publish them to like
player:say("Example", TALKTYPE_ORANGE_1)
Thank you for help
 
Last edited:
Problem solved, i wrote new functions for first question.
i changed 1 line for second question.
Thank you for watching thread :) close thread.
 
Back
Top