05.08.2018, 23:52
Ok, i have a strange problem.
I directly spawn the player when he logins, everything works ... BUT!
It doesn't work if i load vehicles!
If i add this code on OnGameModeInit, after the player has logged, he gets redirected to class selection, instead of directly spawning.
If i remove this code, everything works.
What's wrong? Dark magic?
I directly spawn the player when he logins, everything works ... BUT!
It doesn't work if i load vehicles!
pawn Код:
LoadStaticVehiclesFromFile("vehicles/bone.txt");
LoadStaticVehiclesFromFile("vehicles/flint.txt");
LoadStaticVehiclesFromFile("vehicles/ls_airport.txt");
LoadStaticVehiclesFromFile("vehicles/ls_gen_inner.txt");
LoadStaticVehiclesFromFile("vehicles/ls_gen_outer.txt");
Etc etc.
If i remove this code, everything works.
What's wrong? Dark magic?