SA-MP Forums Archive
[FilterScript] Vehicle Spawn /V Carname|Carid Color1 Color2 - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Filterscripts (https://sampforum.blast.hk/forumdisplay.php?fid=17)
+--- Thread: [FilterScript] Vehicle Spawn /V Carname|Carid Color1 Color2 (/showthread.php?tid=346727)

Pages: 1 2 3


Re: Vehicle Spawn /V Carname|Carid Color1 Color2 - Dasine94 - 17.07.2012

Quote:
Originally Posted by Aloushi
Посмотреть сообщение
i think all scripter is copy paste
1.Learn English, then come back on forum.
2.No one is copying, ur only one.
3.Next time check if there's script like this.
and again, learn english. KID!


Re: Vehicle Spawn /V Carname|Carid Color1 Color2 - Koske - 17.07.2012

Usefull for me.Ty


Re: Vehicle Spawn /V Carname|Carid Color1 Color2 - Villa_Man - 22.10.2012

Hey, nice Car Spawner!
But I have a question.
Because I'm new on scripting and others, what do I have to do with the .pwn file?
Normally, I know that I need an .amx file too for running a Filescript.
What to do?


Re: Vehicle Spawn /V Carname|Carid Color1 Color2 - Aloushi - 22.10.2012

u need to run my script in pawno tool


Re: Vehicle Spawn /V Carname|Carid Color1 Color2 - Guitar - 24.10.2012

Awesome bro 5/5!


Re: Vehicle Spawn /V Carname|Carid Color1 Color2 - WizBoy - 24.10.2012

Simple but Rep+ for your work


Re: Vehicle Spawn /V Carname|Carid Color1 Color2 - Aloushi - 25.10.2012

thanks You


Re: Vehicle Spawn /V Carname|Carid Color1 Color2 - yeehao98 - 27.01.2013

It say error (cant read from #include <streamer>)


Re: Vehicle Spawn /V Carname|Carid Color1 Color2 - Aloushi - 27.01.2013

install last include and plugin streamer


Re: Vehicle Spawn /V Carname|Carid Color1 Color2 - [UG]Daniel - 09.02.2013

Basic but gj
Keep it up !


Re: Vehicle Spawn /V Carname|Carid Color1 Color2 - Infinity90 - 09.02.2013

Very useful


Re: Vehicle Spawn /V Carname|Carid Color1 Color2 - Aloushi - 10.02.2013

Quote:
Originally Posted by Infinity90
Посмотреть сообщение
Very useful
thxx you


Re: Vehicle Spawn /V Carname|Carid Color1 Color2 - Folly91 - 10.02.2013

Very nice and usefull

+rep!


Re: Vehicle Spawn /V Carname|Carid Color1 Color2 - JordanMaddox - 10.02.2013

Very basic, but very useful too, should be posted in the useful snippets section


AW: Vehicle Spawn /V Carname|Carid Color1 Color2 - Flashbrot - 11.02.2013

usefull


Re: Vehicle Spawn /V Carname|Carid Color1 Color2 - Aloushi - 12.02.2013

thanks all


Re: Vehicle Spawn /V Carname|Carid Color1 Color2 - Lucastexas - 31.07.2013

I don't know how to install it. I place the cs.pwn file on my filterscript and afterwards I don't know what to do. Should it generate an .amx file somehow?


Re: Vehicle Spawn /V Carname|Carid Color1 Color2 - JusstinRoller - 01.08.2013

you just make this command:

Add this to the top of your script
PHP код:
new SpawnedVehicle[MAX_PLAYERS];

stock SpawnVehicleForPlayer(playerid,vehicleid,color1,color2)
{
    if(
SpawnedVehicle[playerid] != 0)
    {
        
DestroyVehicle(SpawnedVehicle[playerid]);
    }
    new 
Float:XFloat:YFloat:ZFloat:Angle;
    
GetPlayerPos(playeridFloat:XFloat:YFloat:Z);
    
GetPlayerFacingAngle(playeridFloat:Angle);
    
SpawnedVehicle[playerid] = CreateVehicle(vehicleidXY1.0Anglecolor1color2600);
    
SetVehicleVirtualWorld(SpawnedVehicle[playerid], GetPlayerVirtualWorld(playerid));
    
LinkVehicleToInterior(SpawnedVehicle[playerid], GetPlayerInterior(playerid));
    
PutPlayerInVehicle(playeridSpawnedVehicle[playerid], 0);

and add command:
PHP код:
CMD:car(playerid,params[])
{
    if(
sscanf(params,"iii",id,c1,c2)) return SendClientMessage(playerid,-1,"USAGE: /car [car id] [color 1] [color 2]");
    
SpawnVehicleForPlayer(playerid,id,c1,c2);
    return 
1;

If i help you please rep+


Re: Vehicle Spawn /V Carname|Carid Color1 Color2 - gabitzu4ever - 01.08.2013

Very good :P


Re: Vehicle Spawn /V Carname|Carid Color1 Color2 - thundercraft - 14.03.2014

Hi guys,
I'am a noob and don't now where I must place that file?
In my plugin map?