SA-MP Forums Archive
[FilterScript] [FS] All Car Single Command Spawns - 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] [FS] All Car Single Command Spawns (/showthread.php?tid=113995)



[FS] All Car Single Command Spawns - fsnameless - 17.12.2009

After about two and a half hours on copy and renaming the cmd names and the id + thirty minutes i came up with this

Car Commands

to change the command go to Here and type the name of the car you want get id and hit Ctrl + F and find the id and change how you like.

i take no credit of making the spawn command.
I and My Clan Only Take the credit of changing all the ids and names to make each command.






Re: [FS] All Car Single Command Spawns - GTA_Rules - 17.12.2009

I don't wanna disappoint you, but you can do all that with one command..


Re: [FS] All Car Single Command Spawns - NeRoSiS - 17.12.2009

Yeah, he could of just done /c <id> or even /c <carname>.

Respect though for making this, I wouldn't have the patience, which is why I use the methods stated above.


Re: [FS] All Car Single Command Spawns - MenaceX^ - 17.12.2009

You could have asked someone because there is a shorter way to do it.

Nice investment anyways.


Re: [FS] All Car Single Command Spawns - Andy_McKinley - 17.12.2009

AddStaticVehicle ()
Easy as that! Why would you need that? I mean, Pawn is the easyest one.


Re: [FS] All Car Single Command Spawns - Kurence - 17.12.2009

Sorry but i think this is very poor scripted...
check this spawner and maybe you will learn something
click>HERE<click
(I haven't said it is un-usefull )


Re: [FS] All Car Single Command Spawns - MenaceX^ - 17.12.2009

Quote:
Originally Posted by McKinley
AddStaticVehicle ()
Easy as that! Why would you need that? I mean, Pawn is the easyest one.
What do you mean?


Re: [FS] All Car Single Command Spawns - fsnameless - 17.12.2009

well thanks guys and i made it the way i did cause i got bored and it worked so i figured "hey it works ive got time im gonna be bored"


Re: [FS] All Car Single Command Spawns - cristab - 17.12.2009

I'm just a suggestion

remplace

Код:
if(strcmp(cmd, "/Landstalker", true) == 0)
{
	GetPlayerPos(playerid, x, y, z);
	GetPlayerFacingAngle(playerid, ang);
	CreateVehicle(400, x+1, y+1, z+1, 0, 0, 0, 600);
	SetVehicleZAngle(VehicleID, ang);
	return 1;
}
by

Код:
if(strcmp(cmd, "/Landstalker", true) == 0)
{
	CreatCar(playerid,400);
	return 1;
}
put down the script
Код:
stock CreatCar(playerid,IDC)
{
	new Float:x, Float:y, Float:z, Float:ang;
	new VehicleID = GetPlayerVehicleID(playerid);
	GetPlayerPos(playerid, x, y, z);
	GetPlayerFacingAngle(playerid, ang);
	CreateVehicle(IDC, x+1, y+1, z+1, 0, 0, 0, 600);
	SetVehicleZAngle(VehicleID, ang);
	return 1;
}
is the same code in less time


Re: [FS] All Car Single Command Spawns - fsnameless - 17.12.2009

finally some one i can get info i can use! thanks when i get home from school ill make it smaller