andrex123 Posted January 6, 2012 Posted January 6, 2012 Bueno ahora quiero saber si se puede hasignar un ID (Como 1, 2, 3, 4, etc) a un jugador que entre en el juego por ejemplo Andres_Escudero tenga el ID 1 Kevin_Escudero tenga el ID 2 Jugador X Tenga el ID X
Castillo Posted January 6, 2012 Posted January 6, 2012 Este recurso: https://community.multitheftauto.com/index.php?p= ... ls&id=2322 Es un sistema de ID's que yo sepa. San Andreas Utopia RPG (SAUR) Owner & Developer. Education is the most powerful weapon which you can use to change the world.
Otto Posted January 7, 2012 Posted January 7, 2012 Podrias hacer un sistema más copado con más decoracion. Como dice en el link que se dio anteriormente, podrias utilizar las funciones; getPlayerID(player) getPlayerByID(id) Ingame name: Otto State: Inactive Web designer. Playing MTA:SA since 2008.
andrex123 Posted January 7, 2012 Author Posted January 7, 2012 Bueno, me queda unas dudas, los ID se asignan solo no? o se asignan manual? y como sabre que id son?, utilizo los codigos que nos dio el colaborador anterior para saber los IDs?
Castillo Posted January 7, 2012 Posted January 7, 2012 Deberian asignarse solas, si no, no tiene sentido. Para saber el ID creo que es: local id = exports["ids"]:getPlayerID(player) San Andreas Utopia RPG (SAUR) Owner & Developer. Education is the most powerful weapon which you can use to change the world.
Recommended Posts