can someone tell me the code if if the person speaks or uses magic? I would like to add to anti idle so the player will not fall if they speak or use magic
tfs 0.4
tfs 0.4
Lua:
if(getTileInfo(getCreaturePosition(cid)).nologout or getCreatureNoMove(cid) or
getPlayerCustomFlagValue(cid, PLAYERCUSTOMFLAG_ALLOWIDLE)) then