Hello. How to make, to player can't move in mine script. I've found out something, about doPlayerSetNoMove(cid, cannotMove) and mayNotMove(cid, x) functions, but when I put it into a script I get that errors:
Mine script:
function onUse(cid, item, frompos, item2, topos)
doPlayerPopupFYI(cid...