Jump to content

Ayuda Con Seleccion Skin.


maauroo

Recommended Posts

Posted

Hola. Hace Pocos Tiempo Habia Echo Un Seleccion De Skin Al Entrar Al Server.. Pero No Lo Terminado.. Lo Que Me Falta Es Que Cada Persona Que Entran Aparescan En Otro Mundo Donde Nadie Lo Vea. Como Puedo Hacer Esa Funcion?

Posted

Mira:

local dimension = getFreeDimension  ( ) 
setElementDimension ( client, dimension ) 

Pero No Se Si Es La Correta Funcion Lo Probe Pero A Lo Que Yo Quiero No Funciona. Aqui El Script

-----------------LA CAMARA QUE MUESTRA LOS SKIN PARA ELEGIR------- 
function camf() 
if (client) then 
setElementPosition( client,98.5163, 2246.3232, 125.1528 ) 
setPlayerRotation ( client, 200 ) 
setCameraMatrix( client, 95.1860, 2239.7947, 126.7486, 98.5163, 2246.3232, 125.1528) 
end 
end 
addEvent("FrontCamera", true) 
addEventHandler("FrontCamera", getRootElement(), camf) 
  
---------------------AQUI CUANDO SELECCIONA EL SKIN----------------- 
function selected() 
if (client) then 
fadeCamera(client, true) 
setCameraTarget(client, client) 
local skin = getElementModel ( client ) 
spawnPlayer(client, -2026.5035, 156.7506, 29.0391, 269.1424, skin) 
outputChatBox("Skin successfully changed!", client) 
end 
end 
addEvent("SkinSelected", true) 
addEventHandler("SkinSelected", getRootElement(), selected) 

Como Coloco La Dimension? Como Lo Hago?

Posted

Me Lo Habian Pasado En Otro Tema.. Como Puedo Solucionar Mi Scripts ? Como Le Pongo La Dimension A Cada Persona Que Entran Y Eligen Skin?

Posted

Lo Puse Asi:

-----------------LA CAMARA QUE MUESTRA LOS SKIN PARA ELEGIR------- 
function camf() 
if (client) then 
setElementPosition( client,98.5163, 2246.3232, 125.1528 ) 
setPlayerRotation ( client, 200 ) 
setCameraMatrix( client, 95.1860, 2239.7947, 126.7486, 98.5163, 2246.3232, 125.1528) 
end 
end 
addEvent("FrontCamera", true) 
addEventHandler("FrontCamera", getRootElement(), camf) 
  
---------------------AQUI CUANDO SELECCIONA EL SKIN----------------- 
function selected() 
local d = 1, 100 ---------------LO PUSE AQUI.. NO SE SI VA AQUI PERO NO FUNCIONA.. ESTAN TODO EN LA MISMA DIMENSION. 
if (client) then 
fadeCamera(client, true) 
setCameraTarget(client, client) 
setElementDimension (client, math.random(#d))  ----------AQUI EL OTRO. 
local skin = getElementModel ( client ) 
spawnPlayer(client, -2026.5035, 156.7506, 29.0391, 269.1424, skin) 
outputChatBox("Skin successfully changed!", client) 
end 
end 
addEvent("SkinSelected", true) 
addEventHandler("SkinSelected", getRootElement(), selected) 

Esta Bien Ubicado?

Posted

Lo Quiero Terminar.. Pero Nadie Puede. A Lo Que Yo Me Refiero Es Que Cada Persona Que Entran Tiene Que Estar En Diferente Mundo Cuando Estan En El Seleccion De Skin. Entieden?

Posted

No sabes ni lo que haces, copiaste y pegaste la variable d, sin aplicarla. Y ASI QUERES AYUDA

Y ASI QUERES AYUDA?

Te quiero hacer una pregunta : Que vendria a hacer "client"?

Posted
no. Es Un "Server" PorQue?

Habla de tus argumentos, la mitad de lso argumentos que usas dicen client y eso no es ni una variable ni nada

Posted

No Hay Arumento.. Lo Descarge En Comunidad.. Era Un Comando/Skin. Pero Lo Cambia Cada Ves Que Ingresan Al Server Entiendes? Pero Lo Unico Que Falta Es La Dimension.. Ese Es El Problema.

Posted
No Hay Arumento.. Lo Descarge En Comunidad.. Era Un Comando/Skin. Pero Lo Cambia Cada Ves Que Ingresan Al Server Entiendes? Pero Lo Unico Que Falta Es La Dimension.. Ese Es El Problema.

El problema es que no entendes de donde sale ese client y nada de las variables que el tipo puso en la comunidad.

  • Recently Browsing   0 members

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