Use a variable in whole script
#1

Hello !
Well i have this ******* to mp3 code
PHP код:
stock *******StreamForPlayer(playeridvlink[])
{
    new 
mp3link[128];
    
format(mp3link,128,"http://www.*******inmp3.com/fetch/?video=%s",vlink);
    
PlayAudioStreamForPlayersInCar(GetPlayerVehicleID(playerid),mp3link);
    return 
1;

I want the mp3link to be used in another code ( for each vehicle )
so simply when someone gets in vehicle as driver or passenger, will hear the link in mp3link variable ( that was set by the last driver ),
( it says error 017: undefined symbol "mp3link" , i hope if i can store it )
Help please :3
Reply


Messages In This Thread
Use a variable in whole script - by YouHack - 26.02.2017, 17:07
Re: Use a variable in whole script - by iLearner - 26.02.2017, 17:27
Re: Use a variable in whole script - by YouHack - 26.02.2017, 17:36
Re: Use a variable in whole script - by Nero_3D - 27.02.2017, 12:29
Re: Use a variable in whole script - by YouHack - 02.03.2017, 17:25
Re: Use a variable in whole script - by Toroi - 02.03.2017, 17:26
Re: Use a variable in whole script - by YouHack - 02.03.2017, 17:27
Re: Use a variable in whole script - by Alkymia - 02.03.2017, 19:06
Re: Use a variable in whole script - by JessThompson - 03.03.2017, 02:41
Re: Use a variable in whole script - by YouHack - 04.03.2017, 15:39

Forum Jump:


Users browsing this thread: 5 Guest(s)