Elcker Posted February 10, 2012 Posted February 10, 2012 Claro que es posible.... 1º podrias crear varios Gui´s y darles comandos diferentes para cada clan y comandos protegidos claro... 2º podrias crear un Gui de inicio para seleccionar el Gui a abrir
ghost050 Posted February 10, 2012 Posted February 10, 2012 Algo asi mira: team1 = createTeam... team2 = createTeam... ventana1 = guiCreateWindow... ventana2 = guiCreateWindow... addCommandHandler("abrir", function (playerSource) local team = getPlayerTeam(playerSource) if team then if team == team1 then guiSetVisible(ventana1 ,true) showCursor(true) elseif team == team2 then guiSetVisible(ventana2 ,true) showCursor(true) end end end )
-Gus- Posted February 10, 2012 Posted February 10, 2012 en vez de showCursor es mejor guiSetInputEnabled
Soren Posted February 10, 2012 Author Posted February 10, 2012 Gracias a todos pero a eso no me refiero Modifique 2 shop scripts pero quiero que si estas en un team salga 1 y si estas en otro salga otro
-Gus- Posted February 10, 2012 Posted February 10, 2012 tenes que poner una condicion, si el jugador esta en el team, entonces "triggerClientEvent" para abrir el gui y si esta en otro team, trigeas el evento pero de el otro gui...
Soren Posted February 11, 2012 Author Posted February 11, 2012 tenes que poner una condicion, si el jugador esta en el team, entonces "triggerClientEvent" para abrir el gui y si esta en otro team, trigeas el evento pero de el otro gui... ok ya sirvio gracias gus
Recommended Posts