Important problem which vehicle
#1

Hello,

When i start my server, my cars are not appearing. However, they load correctly. To know that, i have printed the CreateVehicle function, where we can see that its loading perfectly:
Example:

[22:43:21] CreateVehicle(541, -1840.955200, 114.283279, 14.817187, 0.000000, -1, -1, 20000);
[22:43:21] CreateVehicle(558, -1528.654418, 566.590820, 6.880220, 38.000000, -1, -1, 20000);
[22:43:21] CreateVehicle(558, -1720.498901, 1010.897155, 17.289730, 90.000000, -1, -1, 20000);
[22:43:21] CreateVehicle(559, -1962.168579, 1186.070800, 45.050937, 90.000000, -1, -1, 20000);
[22:43:21] CreateVehicle(559, -2601.860839, 827.339843, 49.738437, 180.000000, -1, -1, 20000);
[22:43:21] CreateVehicle(560, -2713.099365, 826.268005, 49.796367, 180.000000, -1, -1, 20000);
[22:43:21] CreateVehicle(560, -2521.965332, 990.088928, 77.955863, 0.000000, -1, -1, 20000);
[22:43:21] CreateVehicle(560, -1835.656005, 1542.877319, 6.992475, 90.000000, -1, -1, 20000);
[22:43:21] CreateVehicle(562, -1655.004028, 1214.902343, 7.003549, 0.000000, -1, -1, 20000);
[22:43:21] CreateVehicle(565, -1664.723632, 1014.825073, 7.613804, 0.000000, -1, -1, 20000);
[22:43:21] CreateVehicle(565, -1801.288330, 752.030639, 24.582555, 0.000000, -1, -1, 20000);

However, when we are in the server, no cars are here, no one!
What could be the problem ?

Thanks
Reply
#2

Try replacing CreateVehicle with AddStaticVehicle under OnGameModeInit / OnFilterScriptInit
Reply
#3

no cars are appearing still :/
Reply
#4

Hello!

Do you are in an another virtual world? Be sure that you are in world 0.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)