• Content Count

  • Joined

  • Last visited

Community Reputation

5 Neutral

1 Follower

About 669344682

  • Rank

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. Actually, 1.5.6 works well, I guess It's might be a bug of latest version and have reported this error to github. 你在这个论坛活跃度很高啊!
  2. Dear administrator, I downloaded the 1.5.7 20190910 version, update the server side and client side, the problem(cannot play video) still have. but when I modify the path of video, the page works well in the chrome.
  3. It's a unzipped resource, thanks a lot, I will try it and return you result, thank you again administrator.
  4. Brother, I have the same problem, 1.5.7 cannot play the video in the browser, the privious 1.5.6 version work successfully, in this stage, I don't change anything. all of files, html, video and pictures,scripts, are included in the same resource. my topic: please help us dear developers of MTASA. Yeah, It might be a bug of new version.
  5. https://wiki.multitheftauto.com/wiki/TriggerServerEvent
  6. meta.xml: <meta> <!-- exports --> <script src= "win.Lua" type = "client" /> <!-- main scripts --> <script src= "client.Lua" type = "client"/> <script src= "server.Lua" type = "server"/> <file src="interface/index.html" /> <file src="interface/assert/logo.png" /> <file src="interface/assert/movie.webm" /> <oop>true</oop> </meta> client.Lua: local screenWidth, screenHeight = guiGetScreenSize() local page = "http://mta/srp_account/interface/index.html" local initBrowser = guiCreateBrowser(0, 0, screenWidth, screenHeight, true, false, false) local theBrowser = guiGetBrowser(initBrowser) addEventHandler("onClientBrowserCreated", theBrowser, function() loadBrowserURL(source, page) showCursor(true) end ) index.html: <!DOCTYPE HTML> <head> <style> body{ margin:0px; padding:0px; background-color:black; } #background-video{ width:100%; height:100%; margin:0px 0px; position:fixed; z-index:1; } #logo{ position:absolute; width:100%; height:45%; margin: 1% 0%; z-index: 2; } #selectionblock{ width:100%; height:7%; position: absolute; z-index:3; bottom:0px; background-color: rgba(255, 255, 255, 0.377); border-radius:5px; text-align: center; } </style> </head> <body> <div id="main"> <video id="background-video" autoplay loop muted controls><!--chrome播放需要加muted静音--> <source src="http://mta/srp_account/interface/assert/movie.webm" type="video/webm">your browser does not support the video tag.<!-- http://mta/srp_account/interface/assert/movie.mp4 http://mta/srp_account/interface/assert/movie.webm--> <!--<source src="assert/movie.webm" type="video/webm">your browser does not support the video tag.--> </video> <img src="assert/logo.png" id="logo"/> </div> <div id="selectionblock"></div> </body> The video cannot play when the resource start. I work successfully with the same code before I transfer my system disk. Please help me error screenshot: No any debug information be reported.
  7. 669344682


    keep going bro!
  8. Only GUI account system? !!!
  9. Bug Report: Function: CustomStaticImage:setImage Line:9487 function CustomStaticImage.setImage(self, ...) return csiSetImage(self, ...) end Debug Information: ERROR: srp_account\win.lua:9487: attempt to call global'csiSetImage' (a nil value) Solution: Modify csiSetImage to cgiSetImage function CustomStaticImage.setImage(self, ...) return cgiSetImage(self, ...) end Now, it works. And, I'm sorry about that I don't know what the csi and cgi mean, I just simply make it works, please the author give it the right name.Thx:3 I will do that when I have a good control on it.
  10. Your reputation is the highest level in Chinese.Love you bro 🤞!!!
  11. It's true. Please pay more attention to following information underneath the wiki page. year years since 1900 ignore this: @thisdp 灯泡活跃在各大论坛🤞。
  12. I really wish that author keep updating this ui system, It's pretty good - clean and beautiful. I have a problem - the wiki is not complete, for instance the staticImg statement.