Wysłany: 2016-06-03, 12:46
luki123luki123
Place Game
Wiek: 28 Na forum: 5275 dni Posty: 1948
Nick w MP: LuKiO
Piwa : 6101
KukiX , to jest tylko zapis danych, je?eli gracz wejdzie na serwer to automatycznie wpisze si? jego login i has?o.
Wysłany: 2016-06-03, 22:46
teusz11
Wiek: 29 Na forum: 4652 dni Posty: 191
Nick w MP: Matevsz
Piwa : 4
Jeszcze jedno:
function Muzyka ()
local muzyka = playSound ( "link" , true )
end
addEventHandler ( "onClientResourceStart" , getResourceRootElement ( getThisResource ()), Muzyka )
function Zaloguj ( button , state )
showCursor ( false )
showChat ( true )
stopSound ( muzyka )
guiSetVisible ( tlo , false )
guiSetVisible ( errorLogin , false )
guiSetVisible ( zapamietajKonto , false )
guiSetVisible ( polelogin , false )
guiSetVisible ( gridlist , false )
guiSetVisible ( polehaslo , false )
guiSetVisible ( zdj , false )
guiSetVisible ( zdj2 , false )
guiSetVisible ( zdj3 , false )
guiSetVisible ( zdj4 , false )
if ( button == "left" and state == "up" ) then
if ( source == zdjReje5 ) then
login = guiGetText ( polelogin )
haslo = guiGetText ( polehaslo )
if guiCheckBoxGetSelected ( zapamietajKonto ) == true then
checksave = true
else
checksave = false
end
triggerServerEvent ( "onRequestLogin" , getLocalPlayer (), login , haslo , checksave )
end
end
end
addEventHandler ( "onClientGUIClick" , zdj3 , Zaloguj )
bad argument 'stopSound' expected sound at argument 1 got nil
Wysłany: 2016-06-03, 23:07
luki123luki123
Place Game
Wiek: 28 Na forum: 5275 dni Posty: 1948
Nick w MP: LuKiO
Piwa : 6101
teusz11 , usu? local z playSound
Wysłany: 2016-06-03, 23:10
teusz11
Wiek: 29 Na forum: 4652 dni Posty: 191
Nick w MP: Matevsz
Piwa : 4
To samo jest
Do zamkni?cia ju?.
Tagi: onclientguiclick
Anonymous
Na forum: 245 dni
Posty: 1
Anonymous Koniecznie zajrzyj na: