sound radio interior.
#1

Hello, I would like to know how I can put the sound of a radio of the game itself (GTA) in an interior that I created, because there is this sound in some interiors of the game, such as the Weapons Store, And etc... Who does not remember the song when buying clothes for the CJ?
Reply
#2

I think you can play a sound for player when he buys weapons or clothes

Check these
https://sampwiki.blast.hk/wiki/SoundID

Код:
Use 
PlayerPlaySound - search on wiki samp
Srry cuz wroten with phone
Reply
#3

Not encontred.
Reply
#4

PHP код:
public OnPlayerInteriorChange(playeridnewinterioridoldinteriorid)
{
    if(
newinteriorid == 4//check if he is in ammo nation 2 interior 
    
{
          
PlayStreamAudioForPlayer(playerid"link"); // just upload the song you want and put it on "link"
    
}
    return 
1;

Interior ids: http://weedarr.wikidot.com/interior

also you can replace new interior id by GetPlayerPos

EDIT:

it's not possible yet to got those songs

the song enabled atm: https://sampwiki.blast.hk/wiki/SoundID
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)