-Gus- Posted August 11, 2012 Posted August 11, 2012 Existe una funcion de lua o algo? Para los que no saben que es truncar, es cuando tenes un numero con muchos decimales, usar solo cierta cantidad así queda mas corto, por ejemplo yo tengo este numero: 1.28372376473, si lo trunco quedaría en 1.28 o 1.283 depende cuantos decimales quiera. Scripts made by me: Killcam : http://forum.mtasa.com/viewtopic.php?f=108&t=46385 Positionsaver(Race-DM) http://community.mtasa.com/index.php?p=resources&s=details&id=3850
Castillo Posted August 11, 2012 Posted August 11, 2012 No existe, pero crearon una: https://wiki.multitheftauto.com/wiki/Math.round San Andreas Utopia RPG (SAUR) Owner & Developer. Education is the most powerful weapon which you can use to change the world.
-Gus- Posted August 11, 2012 Author Posted August 11, 2012 muchas gracias me sirvio Scripts made by me: Killcam : http://forum.mtasa.com/viewtopic.php?f=108&t=46385 Positionsaver(Race-DM) http://community.mtasa.com/index.php?p=resources&s=details&id=3850
Castillo Posted August 11, 2012 Posted August 11, 2012 De nada. San Andreas Utopia RPG (SAUR) Owner & Developer. Education is the most powerful weapon which you can use to change the world.
Recommended Posts