Auto Mount
Página 1 de 1
Auto Mount
- Código:
class ModuleAutoMount:
MEM_CREATURES = taitem.getValueForConst("addrFirstCreature");
CREATURE_LENGTH = taitem.getValueForConst("lengthCreature");
MOUNT_JUMP = 120;
def getName(self):
return "Auto Mount"
def getVersion(self):
return "2.0";
def getFunDef(self,nr):
if (nr==0): return (0,3000,self.mount);
return();
def getConfigParam(self,nr):
return();
def mount(self,params):
me=tareader.readSelfCharacter();
if tareader.getSelfEventFlags() < 16384 and tareader.getMemIntValue(self.MEM_CREATURES+self.CREATURE_LENGTH*me['nr']+self.MOUNT_JUMP) == 0:
tasender.sendDirectPacket("\xD4\x01");
tibiaauto.registerPlugin(ModuleAutoMount);
Página 1 de 1
Permissões neste sub-fórum
Não podes responder a tópicos