• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Pawn] Vehicles isn't spawning
#2
A command to spawn vehicles should use CreateVehicle instead of AddStaticVehicle.



As for why they aren't spawning on OnGameModeInit, I'm not entirely sure. The code is as simple as it gets so all I can think of is either you have some dodgy library hooking the create vehicle functions and breaking functionality or `LoadStaticVehicles` just isn't being called for whatever reason. Log out calls and try and strip back your code to isolate the problem.
  Reply


Messages In This Thread
Vehicles isn't spawning - by MrVegas - 2019-05-05, 07:21 PM
RE: Vehicles isn't spawning - by Southclaws - 2019-05-06, 07:23 AM
RE: Vehicles isn't spawning - by MrVegas - 2019-05-06, 07:26 AM

Forum Jump: