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

Need help by talkactions!

Status
Not open for further replies.

timiodimio

New Member
Joined
May 6, 2009
Messages
16
Reaction score
0
<talkaction log="yes" words="/ghost" access="3" event="function" value="ghost"/>

Can somebody tell me where i can find that Function called ghost ?
And i also can't find it for some house talkactions..
<talkaction words="alana res" filter="word-spaced" event="function" value="houseBuy"/>
<talkaction words="alana grav" filter="word-spaced" event="function" value="houseSell"/>
<talkaction words="alana sio" filter="word-spaced" event="function" value="houseKick"/>
<talkaction words="aleta grav" filter="word-spaced" event="function" value="houseDoorList"/>
<talkaction words="aleta sio" filter="word-spaced" event="function" value="houseGuestList"/>
<talkaction words="aleta som" filter="word-spaced" event="function" value="houseSubOwnerList"/>

I hope somebody can help me..
I'm new with making an OTserv :wub:
 
lib/050-function then crtl+f ghost :)

Thanks :D

now i get this:
function isPlayerGhost(cid)
if(not isPlayer(cid)) then
return false
end

return getCreatureCondition(cid, CONDITION_GAMEMASTER, GAMEMASTER_INVISIBLE) or getPlayerFlagValue(cid, PLAYERFLAG_CANNOTBESEEN)
end


The thing i want to change is that when i say /ghost that my character will transform into some sparkles like when you heal or something.. But i also want to stay invisible for the players?
How can i do this ? :confused:
 
Status
Not open for further replies.
Back
Top