Help on this - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Help on this (
/showthread.php?tid=572280)
Help on this -
Driver546465 - 26.04.2015
how to make a script like when i tp to a place start music there and when i leave that music stop
Re: Help on this -
bgedition - 26.04.2015
Try with "IsPlayerRangeOfPoint" maybe this is the way!
Re: Help on this -
nezo2001 - 26.04.2015
Under Your tp command
PHP код:
PlayAudioStreamForPlayer(playerid, url[], Float:posX = 0.0, Float:posY = 0.0, Float:posZ = 0.0, Float:distance = 50.0, usepos = 0)
And what do you mean by "leave"?
Re: Help on this -
Driver546465 - 26.04.2015
thanks

leave mean out
Re: Help on this -
Driver546465 - 05.05.2015
from where i can get the url of music??
Re: Help on this -
Alpay0098 - 05.05.2015
You can get a Boombox FS.
Check this out :
https://sampforum.blast.hk/showthread.php?tid=365619
EDIT : Check " Features " section.
Re: Help on this -
MP2 - 05.05.2015
Quote:
Originally Posted by Alpay0098
|
That is not what he wants.
Re: Help on this -
Alpay0098 - 05.05.2015
Quote:
Originally Posted by MP2
That is not what he wants.
|
I've just gave him an example that shows how Music Streamers works.
And If you understood what he wants, go ahead!
Re: Help on this -
MP2 - 05.05.2015
Quote:
Originally Posted by Alpay0098
If you understood what he wants, go ahead!
|
The solution has already been posted; I don't need to.
Re: Help on this -
Alpay0098 - 05.05.2015
Quote:
Originally Posted by MP2
The solution has already been posted; I don't need to.
|
I don't think he got his help just with 2 lines.