Alexs Posted April 1, 2012 Share Posted April 1, 2012 ¿Alguien esta aburrido y quiere probarlo?mtasa://188.77.34.142:22003 me apunto Link to comment
iFoReX Posted April 1, 2012 Share Posted April 1, 2012 ¿Alguien esta aburrido y quiere probarlo?mtasa://188.77.34.142:22003 me apunto a mi ya me ta cargando Link to comment
Carlossg Posted April 1, 2012 Author Share Posted April 1, 2012 addEventHandler ( "onPlayerJoin", root, function ( ) local randomPlayer = getRandomPlayer ( ) local x, y, z, lx, ly, lz, wex, wey = getCameraMatrix( randomPlayer ) setCameraMatrix ( source, x, y, z, lx, ly, lz, wex, wey ) end ) WARNING: [gameplay]\Camera\camera.lua:5: Bad argument @ 'setCameraMatrix' Link to comment
Edikosh998 Posted April 2, 2012 Share Posted April 2, 2012 Hay jugadores en el server? Link to comment
Carlossg Posted April 2, 2012 Author Share Posted April 2, 2012 Sí, anoser que haya tan mala suerte que haya cogido al que ha entrado... Link to comment
Carlossg Posted April 2, 2012 Author Share Posted April 2, 2012 addEventHandler ( "onPlayerJoin", root, function ( ) local randomPlayer = getRandomPlayer ( ) local x, y, z = getElementPosition( randomPlayer ) if randomPlayer == source then outputChatBox ( "Sorry", source) else outputChatBox ( "Good job") end setCameraMatrix ( source, x, y, z) end ) He visto que con el GetCameraMatrix, no funciona sin haberlo puesto antes y he usado getElemenPosition, pero no funciona. Link to comment
Edikosh998 Posted April 2, 2012 Share Posted April 2, 2012 Che y no probastes con setCameraTarget https://wiki.multitheftauto.com/wiki/SetCameraTarget Fijate si esto anda addEventHandler ( "onPlayerJoin", root, function ( ) local randomPlayer = getRandomPlayer ( ) if randomPlayer == source then outputChatBox ( "Sorry", source) else outputChatBox ( "Good job") end setCameraTarget( source,randomPlayer) end ) Link to comment
Carlossg Posted April 2, 2012 Author Share Posted April 2, 2012 mtasa://188.77.34.142:22003 Por si alguien quiere probarlo. Link to comment
Edikosh998 Posted April 2, 2012 Share Posted April 2, 2012 Che estoy bajando como 50 mapas , no entro mas Link to comment
Recommended Posts