RenegadeThePox
New Member
- Joined
- Oct 7, 2007
- Messages
- 62
- Reaction score
- 2
Hello, a im using the OTSERV 0.6.3 sources, and i want know if possibles i change this code to other function for this sources...
function NpcHandler:isInRange(cid)
local distance = getDistanceTo(cid) or -1
if(distance == -1) then
Have another term to replace the "getDistanceTo(cid)" ?
Thanks.
function NpcHandler:isInRange(cid)
local distance = getDistanceTo(cid) or -1
if(distance == -1) then
Have another term to replace the "getDistanceTo(cid)" ?
Thanks.