>>>Auto Tune<<<
#7

Quote:
Originally Posted by H ❽ H
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 :
Actually it's PlayerPlaySound. And this script is very inefficient.

Quote:

if (GetVehicleModel(GetPlayerVehicleID(playerid)) == 55
{
AddVehicleComponent(GetPlayerVehicleID(playerid), 108;
AddVehicleComponent(GetPlayerVehicleID(playerid), 1089);
AddVehicleComponent(GetPlayerVehicleID(playerid), 1090);
AddVehicleComponent(GetPlayerVehicleID(playerid), 1094);
AddVehicleComponent(GetPlayerVehicleID(playerid), 1164);
AddVehicleComponent(GetPlayerVehicleID(playerid), 1167);
AddVehicleComponent(GetPlayerVehicleID(playerid), 116;
AddVehicleComponent(GetPlayerVehicleID(playerid), 1080);
new car = GetPlayerVehicleID(playerid);
ChangeVehicleColor(car,random(500),random(500));
}

Makes no sense. Calling GetPlayerVehicleID that many times and then storing it in a variable at the very end for one more function. Here's how to do it, the good way.

http://pastebin.com/NdcVkkvy
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: 4 Guest(s)