Jump to content
  • 0

Problema /stopradio



Problema intalnita (descriere): Nu se opreste radio-ul cand ma dau jos din masina. Mai exact am pus comanda /radio sa mearga doar cand esti in vehicle, iar cand cobori sa se opreasca automat fara sa dai /radio si select stopradio. Merge comanda /radio foarte bine cand esti in masina dar cand ma dau jos nu se opreste automad, decat daca dau /radio si stopradio. Help please!
Ero(area / rile) / warning-(ul / urile): -
Liniile de cod / sursa / script-ul(obligatoriu):

Pwn de la radio : http://pastebin.com/iKQT8may

Poza de la stop radio: asddsadsadsadsadsadsad.png
Ati incercat sa rezolvati singur?:da

Link to comment
Share on other sites

8 answers to this question

Recommended Posts

  • 0
  • 0
  • 0

Buna seara.

Incercati va rog urmatoarea varianta:


La public OnPlayerStateChange adaugati:


if(oldstate == PLAYER_STATE_DRIVER || oldstate == PLAYER_STATE_PASSENGER) StopAudioStreamForPlayer(playerid);

Edited by ARTIST
  • Upvote 1


Link to comment
Share on other sites

  • 0
This topic is now closed to further replies.
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.