VC:MP 0.4 (Beta) > Script Discussion

[Suggestion|Question]Play a sound

(1/3) > >>

NE.Restricted:
how to play a audio file? and if you cant, I suggest you add it.

Mariu22S:
You can play the game sounds.

Use command type /player sound id

--- Code: --- else if ( cmd == "play" )
    {
PlaySound( 1 , text.tointeger() , player.Pos );
}
--- End code ---

sseebbyy:
+ you can stream radios to the game.

Franklin:

--- Quote from: sseebbyy on September 14, 2014, 10:21:23 pm ---+ you can stream radios to the game.

--- End quote ---

how?

Gudio:
Custom radio ID >10

--- Code: ---CreateRadioStream( ID, "Name", "url", 1 );
--- End code ---

Navigation

[0] Message Index

[#] Next page

Go to full version