Spawning help
#1

Код:
Код:
I originally had a spawn point at 4dragons... then i deleted and put a spawn point in FC like this
Код:
public OnGameModeInit()
{
	// Don't use these lines if it's a filterscript
	SetGameModeText("Fort Carson DM");
	AddPlayerClass(0,172.2445,1220.8604,19.5938,181.1826,0,0,0,0,0,0); // cafe
	AddStaticVehicleEx(419,-177.1931,1225.3440,19.5396,269.8269,47,76,5); // esperanto
	AddStaticVehicleEx(421,-177.3980,1213.8656,19.6229,271.0451,13,1,5); // washington
	AddStaticVehicleEx(421,-150.3455,1177.4398,19.6285,179.8990,13,1,5); // washington2
	AddStaticVehicleEx(426,-141.5858,1177.1309,19.4891,180.8839,42,42,5); // premier
	AddStaticVehicleEx(426,-194.5683,1223.2703,19.4853,358.5677,42,42,5); // premier2
	AddStaticVehicleEx(434,-199.4140,1223.0217,19.7088,359.4897,12,12,5); // hotknife

	return 1;
}
It kept spawning me in the original place in 4drags
so i added this:

Код:
public OnPlayerSpawn(playerid)
{
 	SetPlayerPos(playerid, -177.79, 1205.00, 19.74); //moving from the previous 4drag spawn to the cafe in FC
	return 1;
}
can sum1 please help me out with spawning :)

thanx
Reply
#2

Edit the position in SetSpawnInfo().
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)