Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- elif objet_id == 104: #Téléporteur
- data = p.bitReadBinaryData()
- TP_ID = data.bitReadUnsignedInt(GlobalProperties.BIT_MAP_ID)
- self.teleport(TP_ID, 4)
- self.posX = 65900
- self.posY = 31600
- p = self.SocketMessage(5, 9)
- p.bitWriteUnsignedInt(GlobalProperties.BIT_USER_PID, self.pid)
- p.bitWriteUnsignedInt(GlobalProperties.BIT_METHODE_ID, 4)
- self.map.sendAll(p)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement