Multiple spawn locations
#1

Hi, I want to set it so that my 2 spawn locations show the location of the spawn in class selection. Right now it only shows the 2 classes in my ganton spawn location. I'd like the Ballas spawn to show at the greenbottles location. Do I have to set up the cam angle? and how do I go about doing that with 2 spawns? Or teams?
Код:
public OnGameModeInit()
{

	SetGameModeText("Ryan's Script");
	//classes
	AddPlayerClass(105,2498.5054,-1684.9028,13.4242,19.7164,24,250,27,250,30,300); // Grove spawn
	AddPlayerClass(106,2498.5054,-1684.9028,13.4242,19.7164,24,250,27,250,30,300); // Grove spawn
	AddPlayerClass(107,2498.5054,-1684.9028,13.4242,19.7164,24,250,27,250,30,300); // Grove spawn
	AddPlayerClass(102,2304.9680,-1652.6714,14.4692,179.8481,24,250,27,250,30,300); // green bottles spawn loc
    AddPlayerClass(103,2304.9680,-1652.6714,14.4692,179.8481,24,250,27,250,30,300); // green bottles spawn loc
    AddPlayerClass(104,2304.9680,-1652.6714,14.4692,179.8481,24,250,27,250,30,300); // green bottles spawn loc
	//vehicles
	AddStaticVehicle(529,2435.1013,-1653.6965,13.0872,91.0876,42,42); // willard car near grove bridge
	AddStaticVehicle(529,2174.5579,-1631.6096,14.3125,76.5158,42,42); // willard across street from binco
	AddStaticVehicle(536,2409.5146,-1664.2186,13.1985,268.6294,12,1); // blade near pole ganton bridge
	AddStaticVehicle(536,2509.3828,-1671.7753,13.1396,350.0872,12,1); // blade near cj garage
	AddStaticVehicle(522,2387.0464,-1663.9783,13.0410,267.5524,6,25); // NRG near ganton
	AddStaticVehicle(522,2507.1743,-1694.7504,13.1306,356.7531,6,25); // nrg in cj house garage
	AddStaticVehicle(522,2296.1838,-1640.3344,14.3374,226.5287,6,25); // Green bottles car
	AddStaticVehicle(409,2304.4858,-1635.9442,14.0725,179.6976,6,25); // Green bottles stretch
    UsePlayerPedAnims();
	return 1;
}

public OnGameModeExit()
{
	return 1;
}
public OnPlayerRequestClass (playerid, classid)
{
	SetPlayerPos(playerid, 2498.8213,-1684.5753,13.4179);
    SetPlayerCameraPos(playerid, 2497.7188,-1680.2167,13.3547);
    SetPlayerCameraLookAt(playerid, 2498.5054,-1684,13.3547);
    SetPlayerFacingAngle (playerid, 12.5838);
	return 1;
}
Reply


Messages In This Thread
Multiple spawn locations - by rymax99 - 20.01.2013, 06:33
Re: Multiple spawn locations - by Threshold - 20.01.2013, 06:39
Re: Multiple spawn locations - by rymax99 - 20.01.2013, 07:10
Re: Multiple spawn locations - by Mr_Zlodei - 20.01.2013, 07:15
Re: Multiple spawn locations - by rymax99 - 20.01.2013, 07:29
Re: Multiple spawn locations - by Mr_Zlodei - 20.01.2013, 07:38

Forum Jump:


Users browsing this thread: 1 Guest(s)