Use a variable in whole script
#9

Make a variable like

new MusicLink[MAX_VEHICLES][128];

place this at the top of your script below the includes and defines then set this when a player sets the ******* link, then within onplayerstatechange when a player enters a certin vehicle use that variable like

MusicLink[vehid];
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: 7 Guest(s)