Jump to content

New Functions*


Good idea?  

12 members have voted

  1. 1. Good idea?

    • Yes
      6
    • No
      6


Recommended Posts

Hello guys,

I've got new idea, for the functions.

guiCreateVideoPlayer 
guiCreateMp3Player 
createPlaylist 
guiCreatePlayButton 
guiCreateStopButton 
guiCreatePauseButton 
guiCreatePrevButton 
guiCreateNextButton 
guiCreateVolumeBar 

guiCreateVideoPlayer = It will make video player. Settings

guiCreateVideoPlayer ( x,y, sizex, sizey, "YouTube-Style", true) 

guiCreateMp3Player = It will make special Mp3 player. Settings

guiCreateMp3Player ( x,y, sizex, sizey, "design", true) 

createPlaylist = It will make Playlist usable for guiCreateVideoPlayer and guiCreateMp3Player.

Settings

function playlist() 
local playlist = playlist { 
["1"] MKTO - Thank you (), 
["2"] Linkin Park - New Divide (), 
["3"] Green Day - Holiday () 
} 
end 
  

guiCreatePlayButton = For play music or video in the playlist. Settings

guiCreatePlayButton ( x,y, sizex, sizey, " ", true) 

guiCreateStopButton = For stop music or video in the playlist. Settings

guiCreateStopButton ( x,y, sizex, sizey, " ", true) 

guiCreatePauseButton = For pause music or video in the playlist. Settings

guiCreatePauseButton ( x,y, sizex, sizey, " ", true) 

guiCreatePrevButton = For prev. music or video in the playlist. Settings

guiCreatePrevButton ( x,y, sizex, sizey, " ", true) 

guiCreateNextButton = For next music or video in the playlist. Settings

guiCreateNextButton ( x,y, sizex, sizey, " ", true) 

guiCreateVolumeBar = For volume setting. Settings

guiCreateVolumeBar ( x,y, sizex, sizey, "Default Volume 0-100", true) 

UPDATES:

1.1

- Setting for guiCreateVideoPlayer and guiCreateMp3Player = Autoplay (True/False)

1.2

-Added:

-guiCreatePlayButton

-guiCreateStopButton

-guiCreatePauseButton

-guiCreatePrevButton

-guiCreateNextButton

-guiCreateVolumeBar

1.3

-Added:

-Setting for createPlaylist

What do you think about it?

Edited by Guest
Link to comment
Support for flash objects (or something like that) was requested ages ago on bug tracker... it was declined mainly because of security reasons i think.

Btw. you should have reported this on bugtracker, but it won't be added anyway :D

What about add "Sniper rifle" (weapon id 34) to bullet_sync mtaserver.conf

because Sniper Rifle lag.

Edited by Guest
Link to comment

We don't need them. MTA has scripting for a reason. Seriously, we've had enough of this. First, bone attachments, then NPC traffic, and now, video player. If you are given powerful scripting capabilities, make use of them before asking for more.

Link to comment
  • 3 weeks later...
We don't need them. MTA has scripting for a reason. Seriously, we've had enough of this. First, bone attachments, then NPC traffic, and now, video player. If you are given powerful scripting capabilities, make use of them before asking for more.

Yupilicious. All the functions listed above would probably just execute guiCreate*******. The only possible request would be video player, and not even a video player. More like a chromeless video frame to play a video (all other handling like volume bars, seeking would have to be scripted by you)

Link to comment
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...