Vehicle Spawning Double?
#1

I have 6 cars in fort carson.. When i connect to the game, i end up having 12? can someone help? here is the code:

Код:
public OnGameModeInit()
{
	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;

}
Reply
#2

Sounds like an issue with a vehicle streamer you're using. Use CreateVehicle instead of AddStaticVehicleEx
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)