Vehicle problem.
#1

Hey guys.

I added Vehicles in my GameMode. But if i exit the Interior (I spawn in a interior), the vehicles are Double or Spawn wrong. I saved all again but it dont work.
Reply
#2

Where did you put those vehicles? do they respawn once you spawn somewhere? If yes, try another callback.
Posting the code would help alot too...
Reply
#3

in "OnGameModeInit"

Код:
 AddStaticVehicle(560,1728.7572,-1317.5061,13.2922,65.4335,121,121); // 3 Sultan
 AddStaticVehicle(560,1728.9561,-1321.6561,13.2921,63.6394,121,121); // 3 Sultan
 AddStaticVehicle(560,1728.8651,-1325.9523,13.2914,61.1943,121,121); // 3 Sultan
 AddStaticVehicle(560,1728.5973,-1330.5372,13.2926,62.5607,121,121); // 3 Sultan
 AddStaticVehicle(477,1584.9879,-1411.1370,13.3687,268.1385,121,61); // 3 ZT
 AddStaticVehicle(477,1584.7880,-1417.4200,13.3315,268.8258,121,61); // 3 ZT
 AddStaticVehicle(451,1561.9126,-1398.5687,13.7245,269.9775,121,121); // 3 Turismo
 AddStaticVehicle(451,1550.2714,-1398.6515,13.7219,270.4630,121,121); // 3 Turismo
 AddStaticVehicle(411,1511.8401,-1265.7941,14.2902,179.2352,121,121); // 3 Infernus
 AddStaticVehicle(411,1518.5552,-1255.4548,14.2658,179.5110,121,121); // 3 Infernus
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)