[Help] - Can't see Created Vehicles - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: [Help] - Can't see Created Vehicles (
/showthread.php?tid=518753)
[Help] - Can't see Created Vehicles -
SAMProductions - 11.06.2014
Hello there once again,
I've encountered this problem, so i've put 'CreateVehicle', 'AddStaticVehicle' and 'AddStaticVehicleEx' in OnGameModeInit callback. But none of them are showing in the Server but it printed this :-
Код:
[08:11:54] Number of vehicle models: 13
I don't know if it is in Another Interior or Virtual World.
Thanks in advance
Re: [Help] - Can't see Created Vehicles -
AiRaLoKa - 11.06.2014
and are we meant to guess your code -,-
Re: [Help] - Can't see Created Vehicles -
Rittik - 11.06.2014
Restart your server.
Re: [Help] - Can't see Created Vehicles -
AndySedeyn - 11.06.2014
-Deleted, misunderstood the problem-
Re: [Help] - Can't see Created Vehicles -
Threshold - 11.06.2014
Use AddStaticVehicle for vehicles created under OnGameModeInit.
Vehicles will always spawn in interior 0 and virtual world 0, unless LinkVehicleToInterior or SetVehicleVirtualWorld is used.