Jump to content

GET account ID


Starztec

Recommended Posts

Boton8 = guiCreateLabel(137, 142, 111, 25, "LEGAJO2", false, Ventana);guiSetProperty(Boton8, "NormalTextColour", "FF27F512")

addCommandHandler("p", 
	function()
		local team = getPlayerTeam(localPlayer)
  
		if team then
			local teamName = getTeamName(team)
			if teamName == "MOBSA" then
				local getGui = guiGetVisible(Ventana)
				if not getGui then
					guiSetVisible(Ventana, true)
					guiSetText(Boton10, getPlayerMoney(localplayer))
					guiSetText(Boton2, teamName)
					guiSetText(Boton4, getPlayerName(localPlayer))
					guiSetText(Boton8, ID ) --<<Aca necesitaria poner la id del jugador, digamos que aparesca su id
					showCursor(true)
				else
					guiSetVisible(Ventana, false)
					showCursor(false)
					print ("Tu trabajas de chofer actualmente")
				end
			else
				print ("Tu trabajas de chofer actualmente")
			end
		end
	end
)

Buenas, mi duda es como sacar la id de los jugadores? Veo cual son porque quedan guardadas pero como hago para volcar esos datos en estos textos? Gracias!

Link to comment
  • 2 weeks later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...