PDA

View Full Version : [FilterScript] [FS] Tuned Cars


Darkcha0s
19/08/2007, 12:42 PM
http://img177.imageshack.us/img177/3733/tunedcarsmh1.jpg
Just a very simple little script, that on command, spawns a tuned car.
Works great for fool around servers, aswell as any others!
For help type /tcars.
Current version: 0.1
Should be bug free as far as I know, but if you find one, let me know!
Download link
http://www.gamersgate.org/tunedcars.rar

plane
19/08/2007, 01:03 PM
great :D can u fix that when a car come on the roof it explodes?

BigJayMalcolm
19/08/2007, 01:04 PM
Very Good, Saves me some time.

I have one suggestion, If possible make the cars spawn like /v infront of you not so you are in it straight away.

Thanks.

Darkcha0s
19/08/2007, 01:10 PM
Yep, will work on that for the next release! :P

BigJayMalcolm
19/08/2007, 03:10 PM
Great thanks, apart from that its a great Filterscript.

BigJayMalcolm
19/08/2007, 04:20 PM
Sorry for the Double Post, but i found aBug while driving.

When you are in any Car, and spawn a tuned car, you automatically swap drivers to the tuned one, BUT, the camera stays on the original car, So you can drive off and leave the camera behind.

Its probably not fixable until the /v-style spawning is Done.

Thanks

Darkcha0s
19/08/2007, 04:31 PM
*edit found 2 bugs in total
Found a solution to both! Release later today

BigJayMalcolm
19/08/2007, 05:10 PM
Excellent.

This FS plays a BIG part in my Gamemode, you will be sure to get a Big Thankyou in the credits.

Thanks.

UGPsychoIOU
21/08/2007, 10:18 AM
can it be made to charge certain amounts of cash for different cars?

lesturb
22/08/2007, 01:42 AM
when i load this filterscript . it blocks like commands or text that should be showed

Spilot
22/08/2007, 07:52 AM
Thx, that helpd too much, now i can tune my cars without gta crash :mrgreen:

White
10/01/2008, 05:30 AM
truely... When i'm load this fs, other console commands becomes unavailable =(
p.s. GM = GTO

White
10/01/2008, 05:50 AM
hmmm... shit happenz =)
Try to compile with return = 0 :lol:


#include <a_samp>

public OnPlayerCommandText(playerid, cmdtext[])
{
{
if (strcmp("/telegy", cmdtext, true, 10) == 0)
{
new Float:X,Float:Y,Float:Z,Float:Angle, carid;
GetPlayerPos(playerid,X,Y,Z);
GetPlayerFacingAngle(playerid,Angle);
carid = GetPlayerVehicleID(playerid);
carid = CreateVehicle(562,X,Y,Z,Angle,-1,-1,600);
AddVehicleComponent(carid,1034);
AddVehicleComponent(carid,1038);
AddVehicleComponent(carid,1147);
AddVehicleComponent(carid,1010);
AddVehicleComponent(carid,1073);
ChangeVehiclePaintjob(carid,1);
PutPlayerInVehicle(playerid,carid,0);
TogglePlayerControllable(playerid,true);
return SendClientMessage(playerid, 0x40FF40FF, "Tuned elegy has been spawned!");
}
return 0;
}
}

Bug with console-blocking disappears O_o

Freestyler
10/01/2008, 08:22 AM
Nice ,now with return 0 works perfect 8)

Fer
29/05/2009, 01:37 PM
Looks nice ;)
I gonna try this out :mrgreen:

Ignas1337
29/05/2009, 02:18 PM
great fs. thank you :)