[FilterScript] [FS] All Car Single Command Spawns
#9

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
Reply


Messages In This Thread
[FS] All Car Single Command Spawns - by fsnameless - 17.12.2009, 05:43
Re: [FS] All Car Single Command Spawns - by GTA_Rules - 17.12.2009, 06:35
Re: [FS] All Car Single Command Spawns - by NeRoSiS - 17.12.2009, 07:13
Re: [FS] All Car Single Command Spawns - by MenaceX^ - 17.12.2009, 09:31
Re: [FS] All Car Single Command Spawns - by Andy_McKinley - 17.12.2009, 09:40
Re: [FS] All Car Single Command Spawns - by Kurence - 17.12.2009, 10:00
Re: [FS] All Car Single Command Spawns - by MenaceX^ - 17.12.2009, 10:07
Re: [FS] All Car Single Command Spawns - by fsnameless - 17.12.2009, 12:36
Re: [FS] All Car Single Command Spawns - by cristab - 17.12.2009, 12:54
Re: [FS] All Car Single Command Spawns - by fsnameless - 17.12.2009, 12:56

Forum Jump:


Users browsing this thread: 1 Guest(s)