17.07.2012, 15:22
[FilterScript] Vehicle Spawn /V Carname|Carid Color1 Color2
17.07.2012, 17:36
Usefull for me.Ty
22.10.2012, 07:05
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?
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?
22.10.2012, 08:55
u need to run my script in pawno tool
24.10.2012, 20:35
Awesome bro 5/5!
24.10.2012, 20:53
Simple but Rep+ for your work
25.10.2012, 15:02
thanks You
27.01.2013, 13:49
It say error (cant read from #include <streamer>)
27.01.2013, 15:34
install last include and plugin streamer
09.02.2013, 11:14
Basic but gj
Keep it up !
Keep it up !
09.02.2013, 21:20
Very useful
10.02.2013, 16:32
10.02.2013, 18:47
Very nice and usefull
+rep!
+rep!
10.02.2013, 23:25
Very basic, but very useful too, should be posted in the useful snippets section
11.02.2013, 13:52
usefull
12.02.2013, 13:54
thanks all
31.07.2013, 22:16
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?
01.08.2013, 00:35
you just make this command:
Add this to the top of your script
and add command:
If i help you please rep+
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:X, Float:Y, Float:Z, Float:Angle;
GetPlayerPos(playerid, Float:X, Float:Y, Float:Z);
GetPlayerFacingAngle(playerid, Float:Angle);
SpawnedVehicle[playerid] = CreateVehicle(vehicleid, X, Y, Z + 1.0, Angle, color1, color2, 600);
SetVehicleVirtualWorld(SpawnedVehicle[playerid], GetPlayerVirtualWorld(playerid));
LinkVehicleToInterior(SpawnedVehicle[playerid], GetPlayerInterior(playerid));
PutPlayerInVehicle(playerid, SpawnedVehicle[playerid], 0);
}
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;
}
01.08.2013, 05:09
Very good :P
14.03.2014, 16:51
Hi guys,
I'am a noob and don't now where I must place that file?
In my plugin map?
I'am a noob and don't now where I must place that file?
In my plugin map?
« Next Oldest | Next Newest »
Users browsing this thread: 2 Guest(s)