>>>Auto Tune<<<
#5

omg dude , u didn't even include a_samp .inc , the script got tons of errors and it isn't "PlaySoundForPlayer" it is "PlayPlayerSound" dude check ur scripts before releasing it here is ur script fixed :

Code:
#include <a_samp>
#pragma tabsize 0
public OnPlayerCommandText(playerid, cmdtext[])
{
	if (strcmp("/autotune", cmdtext, true, 10) == 0)
	{
		if (GetVehicleModel(GetPlayerVehicleID(playerid)) == 560)
		    {
		  	  AddVehicleComponent(GetPlayerVehicleID(playerid), 1030);
		  	  AddVehicleComponent(GetPlayerVehicleID(playerid), 1031);
		  	  AddVehicleComponent(GetPlayerVehicleID(playerid), 1033);
		  	  AddVehicleComponent(GetPlayerVehicleID(playerid), 1170);
		  	  AddVehicleComponent(GetPlayerVehicleID(playerid), 1139);
		  	  AddVehicleComponent(GetPlayerVehicleID(playerid), 1140);
		  	  AddVehicleComponent(GetPlayerVehicleID(playerid), 1080);
		  	  new car = GetPlayerVehicleID(playerid);
			//	ChangeVehiclePaintjob(car,2);
				ChangeVehicleColor(car,random(500),random(500));
		  	  PlayerPlaySound(playerid,1133,0.0,0.0,0.0);
		  	  }
		  	  //Jester
		    if (GetVehicleModel(GetPlayerVehicleID(playerid)) == 559)
		    {
		  	  AddVehicleComponent(GetPlayerVehicleID(playerid), 1065);
		  	  AddVehicleComponent(GetPlayerVehicleID(playerid), 1067);
		  	  AddVehicleComponent(GetPlayerVehicleID(playerid), 1069);
		  	  AddVehicleComponent(GetPlayerVehicleID(playerid), 1071);
		  	  AddVehicleComponent(GetPlayerVehicleID(playerid), 1173);
		  	  AddVehicleComponent(GetPlayerVehicleID(playerid), 1161);
		  	  AddVehicleComponent(GetPlayerVehicleID(playerid), 1162);
		  	  AddVehicleComponent(GetPlayerVehicleID(playerid), 1080);
		  	  new car = GetPlayerVehicleID(playerid);
			//	ChangeVehiclePaintjob(car,2);
				ChangeVehicleColor(car,random(500),random(500));
		  	  PlayerPlaySound(playerid,1133,0.0,0.0,0.0);
		  	  }
		  	  //Elegy
		    if (GetVehicleModel(GetPlayerVehicleID(playerid)) == 562)
		    {
		  	  AddVehicleComponent(GetPlayerVehicleID(playerid), 1034);
		  	  AddVehicleComponent(GetPlayerVehicleID(playerid), 1035);
		  	  AddVehicleComponent(GetPlayerVehicleID(playerid), 1036);
		  	  AddVehicleComponent(GetPlayerVehicleID(playerid), 1040);
		  	  AddVehicleComponent(GetPlayerVehicleID(playerid), 1147);
		  	  AddVehicleComponent(GetPlayerVehicleID(playerid), 1148);
		  	  AddVehicleComponent(GetPlayerVehicleID(playerid), 1171);
		  	  AddVehicleComponent(GetPlayerVehicleID(playerid), 1080);
		  	  new car = GetPlayerVehicleID(playerid);
			//	ChangeVehiclePaintjob(car,0);
				ChangeVehicleColor(car,random(500),random(500));
		  	  PlayerPlaySound(playerid,1133,0.0,0.0,0.0);
		  	  }
		  	  //Flash
		    if (GetVehicleModel(GetPlayerVehicleID(playerid)) == 565)
		    {
		  	  AddVehicleComponent(GetPlayerVehicleID(playerid), 1045);
		  	  AddVehicleComponent(GetPlayerVehicleID(playerid), 1047);
		  	  AddVehicleComponent(GetPlayerVehicleID(playerid), 1051);
		  	  AddVehicleComponent(GetPlayerVehicleID(playerid), 1049);
		  	  AddVehicleComponent(GetPlayerVehicleID(playerid), 1053);
		  	  AddVehicleComponent(GetPlayerVehicleID(playerid), 1150);
		  	  AddVehicleComponent(GetPlayerVehicleID(playerid), 1153);
		  	  AddVehicleComponent(GetPlayerVehicleID(playerid), 1080);
		  	  new car = GetPlayerVehicleID(playerid);
				//	ChangeVehiclePaintjob(car,1);
				ChangeVehicleColor(car,random(500),random(500));
		  	  PlayerPlaySound(playerid,1133,0.0,0.0,0.0);
		  	  }
		  	  //Stratum
		    if (GetVehicleModel(GetPlayerVehicleID(playerid)) == 561)
		    {
		  	  AddVehicleComponent(GetPlayerVehicleID(playerid), 1055);
		  	  AddVehicleComponent(GetPlayerVehicleID(playerid), 1057);
		  	  AddVehicleComponent(GetPlayerVehicleID(playerid), 1062);
		  	  AddVehicleComponent(GetPlayerVehicleID(playerid), 1058);
		  	  AddVehicleComponent(GetPlayerVehicleID(playerid), 1059);
		  	  AddVehicleComponent(GetPlayerVehicleID(playerid), 1154);
		  	  AddVehicleComponent(GetPlayerVehicleID(playerid), 1155);
		  	  AddVehicleComponent(GetPlayerVehicleID(playerid), 1080);
		  	  new car = GetPlayerVehicleID(playerid);
				//	ChangeVehiclePaintjob(car,4);
				ChangeVehicleColor(car,random(500),random(500));
		  	  PlayerPlaySound(playerid,1133,0.0,0.0,0.0);
		  	  }
		  	  //Uranus
     		if (GetVehicleModel(GetPlayerVehicleID(playerid)) == 558)
		    {
		  	  AddVehicleComponent(GetPlayerVehicleID(playerid), 1088);
		  	  AddVehicleComponent(GetPlayerVehicleID(playerid), 1089);
		  	  AddVehicleComponent(GetPlayerVehicleID(playerid), 1090);
		  	  AddVehicleComponent(GetPlayerVehicleID(playerid), 1094);
		  	  AddVehicleComponent(GetPlayerVehicleID(playerid), 1164);
		  	  AddVehicleComponent(GetPlayerVehicleID(playerid), 1167);
		  	  AddVehicleComponent(GetPlayerVehicleID(playerid), 1168);
		  	  AddVehicleComponent(GetPlayerVehicleID(playerid), 1080);
		  	  new car = GetPlayerVehicleID(playerid);
				//	ChangeVehiclePaintjob(car,1);
				ChangeVehicleColor(car,random(500),random(500));
		  	  PlayerPlaySound(playerid,1133,0.0,0.0,0.0);
		  	  }
		  	  //Turismo
		    if (GetVehicleModel(GetPlayerVehicleID(playerid)) == 451)
		    {
		  	  AddVehicleComponent(GetPlayerVehicleID(playerid), 1080);
		  	  PlayerPlaySound(playerid,1133,0.0,0.0,0.0);
		  	  new car = GetPlayerVehicleID(playerid);
		    ChangeVehicleColor(car,random(500),random(500));
		    }
		    //Infernus
		    if (GetVehicleModel(GetPlayerVehicleID(playerid)) == 411)
		    {
		  	  AddVehicleComponent(GetPlayerVehicleID(playerid), 1080);
		  	  PlayerPlaySound(playerid,1133,0.0,0.0,0.0);
		  	  new car = GetPlayerVehicleID(playerid);
		    ChangeVehicleColor(car,random(500),random(500));
		    }
		    //Alpha
		    if (GetVehicleModel(GetPlayerVehicleID(playerid)) == 602)
		    {
		  	  AddVehicleComponent(GetPlayerVehicleID(playerid), 1079);
		  	  PlayerPlaySound(playerid,1133,0.0,0.0,0.0);
		  	  new car = GetPlayerVehicleID(playerid);
		    ChangeVehicleColor(car,random(500),random(500));
		    }
		    //Banshee
		    if (GetVehicleModel(GetPlayerVehicleID(playerid)) == 429)
		    {
		  	  AddVehicleComponent(GetPlayerVehicleID(playerid), 1080);
		  	  PlayerPlaySound(playerid,1133,0.0,0.0,0.0);
		  	  new car = GetPlayerVehicleID(playerid);
		    ChangeVehicleColor(car,random(500),random(500));
		    }
		    //Bufallo
		    if (GetVehicleModel(GetPlayerVehicleID(playerid)) == 402)
		    {
		  	  AddVehicleComponent(GetPlayerVehicleID(playerid), 1077);
		  	  PlayerPlaySound(playerid,1133,0.0,0.0,0.0);
		  	  new car = GetPlayerVehicleID(playerid);
		    ChangeVehicleColor(car,random(500),random(500));
		    }
		    //Bullet
		    if (GetVehicleModel(GetPlayerVehicleID(playerid)) == 541)
		    {
		  	  AddVehicleComponent(GetPlayerVehicleID(playerid), 1080);
		  	  PlayerPlaySound(playerid,1133,0.0,0.0,0.0);
		  	  new car = GetPlayerVehicleID(playerid);
		    ChangeVehicleColor(car,random(500),random(500));
		    }
		    //Cabbie (taxi oldschool)
		    if (GetVehicleModel(GetPlayerVehicleID(playerid)) == 438)
		    {
		  	  AddVehicleComponent(GetPlayerVehicleID(playerid), 1080);
		  	  PlayerPlaySound(playerid,1133,0.0,0.0,0.0);
		  	  new car = GetPlayerVehicleID(playerid);
		    ChangeVehicleColor(car,random(500),random(500));
		    }
		    //Cheetah
		    if (GetVehicleModel(GetPlayerVehicleID(playerid)) == 415)
		    {
		  	  AddVehicleComponent(GetPlayerVehicleID(playerid), 1080);
		  	  AddVehicleComponent(GetPlayerVehicleID(playerid), 1015);
		  	  AddVehicleComponent(GetPlayerVehicleID(playerid), 1017);
		  	  AddVehicleComponent(GetPlayerVehicleID(playerid), 1007);
		  	  PlayerPlaySound(playerid,1133,0.0,0.0,0.0);
		  	  new car = GetPlayerVehicleID(playerid);
		    ChangeVehicleColor(car,random(500),random(500));
		    }
		    //Taxi
		    if (GetVehicleModel(GetPlayerVehicleID(playerid)) == 420)
		    {
		  	  AddVehicleComponent(GetPlayerVehicleID(playerid), 1080);
		  	  AddVehicleComponent(GetPlayerVehicleID(playerid), 1015);
		  	  PlayerPlaySound(playerid,1133,0.0,0.0,0.0);
		  	  new car = GetPlayerVehicleID(playerid);
		    ChangeVehicleColor(car,random(500),random(500));
		    }
		    //Caddy
		    if (GetVehicleModel(GetPlayerVehicleID(playerid)) == 457)
		    {
		  	  AddVehicleComponent(GetPlayerVehicleID(playerid), 1080);
		  	  PlayerPlaySound(playerid,1133,0.0,0.0,0.0);
		  	  new car = GetPlayerVehicleID(playerid);
		    ChangeVehicleColor(car,random(500),random(500));
		    }
		    //zr350
		    if (GetVehicleModel(GetPlayerVehicleID(playerid)) == 477)
		    {
		  	  AddVehicleComponent(GetPlayerVehicleID(playerid), 1080);
		  	  PlayerPlaySound(playerid,1133,0.0,0.0,0.0);
		  	  new car = GetPlayerVehicleID(playerid);
		    ChangeVehicleColor(car,random(500),random(500));
		    }
		    //Comet
		    if (GetVehicleModel(GetPlayerVehicleID(playerid)) == 480)
		    {
		  	  AddVehicleComponent(GetPlayerVehicleID(playerid), 1080);
		  	  PlayerPlaySound(playerid,1133,0.0,0.0,0.0);
		  	  new car = GetPlayerVehicleID(playerid);
		    ChangeVehicleColor(car,random(500),random(500));
		    }
		    //CopCarLA
		    if (GetVehicleModel(GetPlayerVehicleID(playerid)) == 596)
		    {
		  	  AddVehicleComponent(GetPlayerVehicleID(playerid), 1080);
		  	  PlayerPlaySound(playerid,1133,0.0,0.0,0.0);
		  	  new car = GetPlayerVehicleID(playerid);
		    ChangeVehicleColor(car,random(500),random(500));
		    }
		    //CopCarSF
		    if (GetVehicleModel(GetPlayerVehicleID(playerid)) == 597)
		    {
		  	  AddVehicleComponent(GetPlayerVehicleID(playerid), 1080);
		  	  PlayerPlaySound(playerid,1133,0.0,0.0,0.0);
		  	  new car = GetPlayerVehicleID(playerid);
		    ChangeVehicleColor(car,random(500),random(500));
		    }
		    //Euros
		    if (GetVehicleModel(GetPlayerVehicleID(playerid)) == 587)
		    {
		  	  AddVehicleComponent(GetPlayerVehicleID(playerid), 1080);
		  	  PlayerPlaySound(playerid,1133,0.0,0.0,0.0);
		  	  new car = GetPlayerVehicleID(playerid);
		    ChangeVehicleColor(car,random(500),random(500));
		    }
		    //Hermes
		    if (GetVehicleModel(GetPlayerVehicleID(playerid)) == 474)
		    {
		  	  AddVehicleComponent(GetPlayerVehicleID(playerid), 1080);
		  	  PlayerPlaySound(playerid,1133,0.0,0.0,0.0);
		  	  new car = GetPlayerVehicleID(playerid);
		    ChangeVehicleColor(car,random(500),random(500));
		    }
		    //Huntley
		    if (GetVehicleModel(GetPlayerVehicleID(playerid)) == 579)
		    {
		  	  AddVehicleComponent(GetPlayerVehicleID(playerid), 1080);
		  	  PlayerPlaySound(playerid,1133,0.0,0.0,0.0);
		  	  new car = GetPlayerVehicleID(playerid);
		    ChangeVehicleColor(car,random(500),random(500));
		    }
		    //Hustler
		    if (GetVehicleModel(GetPlayerVehicleID(playerid)) == 545)
		    {
		  	  AddVehicleComponent(GetPlayerVehicleID(playerid), 1080);
		  	  PlayerPlaySound(playerid,1133,0.0,0.0,0.0);
		  	  new car = GetPlayerVehicleID(playerid);
		    ChangeVehicleColor(car,random(500),random(500));
		    }
		    //Phoenix
		    if (GetVehicleModel(GetPlayerVehicleID(playerid)) == 603)
		    {
		  	  AddVehicleComponent(GetPlayerVehicleID(playerid), 1080);
		  	  PlayerPlaySound(playerid,1133,0.0,0.0,0.0);
		  	  new car = GetPlayerVehicleID(playerid);
		    ChangeVehicleColor(car,random(500),random(500));
		    }
		    //SuperGT
		    if (GetVehicleModel(GetPlayerVehicleID(playerid)) == 506)
		    {
		  	  AddVehicleComponent(GetPlayerVehicleID(playerid), 1077);
		  	  PlayerPlaySound(playerid,1133,0.0,0.0,0.0);
		  	  new car = GetPlayerVehicleID(playerid);
		    ChangeVehicleColor(car,random(500),random(500));
		    }
		    //Stretch
		    if (GetVehicleModel(GetPlayerVehicleID(playerid)) == 409)
		    {
		  	  AddVehicleComponent(GetPlayerVehicleID(playerid), 1080);
		  	  PlayerPlaySound(playerid,1133,0.0,0.0,0.0);
		  	  new car = GetPlayerVehicleID(playerid);
		    ChangeVehicleColor(car,random(500),random(500));
		    }
		    //Sabre
		    if (GetVehicleModel(GetPlayerVehicleID(playerid)) == 475)
		    {
		  	  AddVehicleComponent(GetPlayerVehicleID(playerid), 1080);
		  	  PlayerPlaySound(playerid,1133,0.0,0.0,0.0);
		  	  new car = GetPlayerVehicleID(playerid);
		    ChangeVehicleColor(car,random(500),random(500));
		    }
		    //Rancher
		    if (GetVehicleModel(GetPlayerVehicleID(playerid)) == 489)
		    {
		  	  AddVehicleComponent(GetPlayerVehicleID(playerid), 1080);
		  	  PlayerPlaySound(playerid,1133,0.0,0.0,0.0);
		  	  new car = GetPlayerVehicleID(playerid);
		    ChangeVehicleColor(car,random(500),random(500));
		    }
		    //Esperanto
		    if (GetVehicleModel(GetPlayerVehicleID(playerid)) == 419)
		    {
		  	  AddVehicleComponent(GetPlayerVehicleID(playerid), 1080);
		  	  AddVehicleComponent(GetPlayerVehicleID(playerid), 1010);
		  	  PlayerPlaySound(playerid,1133,0.0,0.0,0.0);
		  	  new car = GetPlayerVehicleID(playerid);
		    ChangeVehicleColor(car,random(500),random(500));
		    }
		    //Broadway
		    if (GetVehicleModel(GetPlayerVehicleID(playerid)) == 575)
		    {
		  	  AddVehicleComponent(GetPlayerVehicleID(playerid), 1080);
		  	  AddVehicleComponent(GetPlayerVehicleID(playerid), 1042);
		  	  AddVehicleComponent(GetPlayerVehicleID(playerid), 1099);
		  	  AddVehicleComponent(GetPlayerVehicleID(playerid), 1043);
		  	  AddVehicleComponent(GetPlayerVehicleID(playerid), 1175);
		  	  AddVehicleComponent(GetPlayerVehicleID(playerid), 1177);
		  	  PlayerPlaySound(playerid,1133,0.0,0.0,0.0);
		  	  new car = GetPlayerVehicleID(playerid);
		    ChangeVehicleColor(car,random(500),random(500));
		    }
		    //Remington
		    if (GetVehicleModel(GetPlayerVehicleID(playerid)) == 534)
		    {
		  	  AddVehicleComponent(GetPlayerVehicleID(playerid), 1100);
		  	  AddVehicleComponent(GetPlayerVehicleID(playerid), 1123);
		  	  AddVehicleComponent(GetPlayerVehicleID(playerid), 1101);
		  	  AddVehicleComponent(GetPlayerVehicleID(playerid), 1122);
		  	  AddVehicleComponent(GetPlayerVehicleID(playerid), 1127);
		  	  AddVehicleComponent(GetPlayerVehicleID(playerid), 1178);
		  	  AddVehicleComponent(GetPlayerVehicleID(playerid), 1185);
		  	  AddVehicleComponent(GetPlayerVehicleID(playerid), 1080);
		  	  PlayerPlaySound(playerid,1133,0.0,0.0,0.0);
		  	  new car = GetPlayerVehicleID(playerid);
		      ChangeVehicleColor(car,random(500),random(500));
		    }
		return 1;
	}
	return 0;
}
Reply


Messages In This Thread
>>>Auto Tune<<< - by [RSD]McPott - 27.03.2010, 15:28
Re: >>>Auto Tune<<< - by DeaD_MaN - 27.03.2010, 16:31
Re: >>>Auto Tune<<< - by Brian_Furios - 27.03.2010, 20:22
Re: >>>Auto Tune<<< - by toffix - 03.06.2010, 12:53
Re: >>>Auto Tune<<< - by aircombat - 03.06.2010, 13:03
Re: >>>Auto Tune<<< - by jako - 07.06.2010, 07:10
Re: >>>Auto Tune<<< - by Backwardsman97 - 07.06.2010, 10:09

Forum Jump:


Users browsing this thread: 1 Guest(s)