Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def bienvenidaP(tfm):
- id = int(2);x = int(0);y = int(0)
- msj = "0"
- mypointsCount = tfm.server.getPointsCount(tfm.username)
- mensaje = "<br><br><B><font size='13'><R><a href='event:kapat'>[CERRAR]</a><font face='Soopafresh'><p align='center'><font color='#f272f2' size='35'><BR>¡Bienvenidos</b> a <font color='#1b36e7'>MouseCity<font color='#f1b900'>Server!</p><BR><font face='Verdana'><font color='#ISKK' size='15'>¡Bienvenido <b>"+tfm.username+"</b> a MouseCity2014SERVER!<BR>Te invitamos a jugar, charlar y Divertirte con nosotros y nuestros jugadores!.<BR> <VP>Recuerda que hay un equipo de Programadores de Minijuegos! <J> Si quieres ser parte, Contacta a un Administrador! <br><font color='#CEFF00' size='20'>Ahora cuentas con </font><BR><N><B><font size='15'><font color='#e0e028'><BR>"+str(tfm.shopcheese)+"</font> quesos <BR> <font color='#FD007C'>"+str(tfm.shopfraises)+"</font> fresas.<BR><font color='#16f7ca'>"+str(tfm.mypointsCount)+"</font> <VP>Cyteweb<VI>Coins <BR><font color='#FFA700' size='20'></B><BR>Eventos:<BR><font size='12'> Nuevo año2014</font><br><font size='20'><VP><b></p>"#</a></b></p></font>"
- t = 40
- t = t
- l = 0
- data = struct.pack("!l", id)
- data = data + struct.pack("!h", len(mensaje))
- data = data + mensaje + struct.pack("!hhhhhhhhb", int(x), int(y), 800, 400, 0, 1, 8585, 25, t)
- tfm.sendData("\x1d\x14", data, True)
- def addTextArea(tfm, ide, mensaje, xo, yo, iw, ih, bc, cb, t):
- #xo = xposition, yi = yposition wi = int width ih = Int height
- id = int(ide);x = int(yo);y = int(xo)
- msj = "0"
- mensaje = mensaje
- t = t
- t = t
- l = 0
- data = struct.pack("!l", id)
- data = data + struct.pack("!h", len(mensaje))
- data = data + mensaje + struct.pack("!hhhhhhhhb", int(x), int(y), iw, ih, 0, bc, cb, 0, t)
- tfm.sendData("\x1d\x14", data, True)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement