Jump to content

Recommended Posts

  • Scripting Moderators
13 hours ago, !#DesTroyeR_,) said:

why i can't add a video ?

p_14909no661.png

Code :


DGS = exports.dgs	
browser = DGS:dgsCreateMediaBrowser(600,600)
img = DGS:dgsCreateImage(400,200,600,600,browser,false)
DGS:dgsMediaLoadMedia(browser,"edge.webm","VIDEO") 
DGS:dgsMediaPlay(browser) 

 

https://github.com/multitheftauto/mtasa-blue/issues/1091

I am waiting the issue to be solved. And sorry for the bug. :D

Edited by thisdp
Link to comment
  • 1 month later...
  • Scripting Moderators
3 hours ago, ^iiEcoo'x_) said:

@thisdp

Are You can make a resource like GUIEditor for your library?

well, I am planning to do this. But unfortunately, I don't have enough free time to do that.

Link to comment
  • 4 weeks later...
  • Scripting Moderators
On 12/04/2020 at 21:25, DaeRoNz said:

Now i get this error  ( after update and restart )

https://i.imgur.com/rjT57ae.png

i FIX already but is better update it

thank you. FIxed now. :D use "updatedgs" will get the unstable version when there's no notification about update from DGS update system.

Edited by thisdp
  • Like 1
Link to comment
	buttonCriar = DGS:dgsCreateButton( 70, 300, 140, 40, "Criar", false,tab2)


    --showPanel()
    --addEventHandler("onDgsMouseDrag",colorPick,updateColorPicker,false)
    --addEventHandler ( "onDgsMouseClickDown", colorPick, updateColorPicker )
    addEventHandler ( "onDgsMouseClickDown", buttonCriar, clickCriar )

 the function clickCriar active them i click in tab2 and in buttonCriar.      it should on active on buttonCriar
Right ?

Link to comment
  • Scripting Moderators
10 hours ago, DaeRoNz said:

	buttonCriar = DGS:dgsCreateButton( 70, 300, 140, 40, "Criar", false,tab2)


    --showPanel()
    --addEventHandler("onDgsMouseDrag",colorPick,updateColorPicker,false)
    --addEventHandler ( "onDgsMouseClickDown", colorPick, updateColorPicker )
    addEventHandler ( "onDgsMouseClickDown", buttonCriar, clickCriar )

 the function clickCriar active them i click in tab2 and in buttonCriar.      it should on active on buttonCriar
Right ?

you should use 

addEventHandler ( "onDgsMouseClickDown", buttonCriar, clickCriar, false )
  • Like 1
Link to comment
  • Scripting Moderators
2 hours ago, DaeRoNz said:

when I type in edit  if i press t  the bind go for chat . Have any way to fix that ?

the 


dgsSetInputMode("no_binds_when_editing") still bind the chat

try whether guiSetInputMode("no_binds_when_editing"), doesn't work.

Link to comment
  • Scripting Moderators
3 minutes ago, DaeRoNz said:

yes dont work. ..
so you can fix the :


dgsSetInputMode("no_binds_when_editing") ?

this means it maybe not DGS' fault, because dgsSetInputMode("no_binds_when_editing") is guiSetInputMode("no_binds_when_editing"). Try to find whether there are other scripts that modify input mode

Link to comment
3 minutes ago, thisdp said:

this means it maybe not DGS' fault, because dgsSetInputMode("no_binds_when_editing") is guiSetInputMode("no_binds_when_editing"). Try to find whether there are other scripts that modify input mode

I dont know if this help but.
If i open painel Admin behind the bind t dont work. but if i close admin painel  and type t again it work.

Link to comment
  • Scripting Moderators
3 minutes ago, DaeRoNz said:

I dont know if this help but.
If i open painel Admin behind the bind t dont work. but if i close admin painel  and type t again it work.

maybe it's admin panel's fault

Link to comment
  • Scripting Moderators
On 30/01/2020 at 22:19, Doffy said:

why i can't add a video ?

p_14909no661.png

Code :


DGS = exports.dgs	
browser = DGS:dgsCreateMediaBrowser(600,600)
img = DGS:dgsCreateImage(400,200,600,600,browser,false)
DGS:dgsMediaLoadMedia(browser,"edge.webm","VIDEO") 
DGS:dgsMediaPlay(browser) 

 

with latest MTA, you can play video now

Link to comment

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...