• Content Count

  • Joined

  • Last visited

Community Reputation

6 Neutral

1 Follower

About 669344682

  • Rank

Recent Profile Visitors

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

  1. HI, guys, Could you guys help me about Image nametag? the image nametag,requiring images and text Synchronously change in the different distance. could you share me your code of text function and image function? Thanks a lot.
  2. Actually, 1.5.6 works well, I guess It's might be a bug of latest version and have reported this error to github. 你在这个论坛活跃度很高啊!
  3. 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.
  4. It's a unzipped resource, thanks a lot, I will try it and return you result, thank you again administrator.
  5. 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.
  6. https://wiki.multitheftauto.com/wiki/TriggerServerEvent
  7. 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.
  8. 669344682


    keep going bro!
  9. Only GUI account system? !!!
  10. 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.
  11. Your reputation is the highest level in Chinese.Love you bro 🤞!!!
  12. It's true. Please pay more attention to following information underneath the wiki page. year years since 1900 ignore this: @thisdp 灯泡活跃在各大论坛🤞。
  13. 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.