[SOLVED] -
Vexus - 24.10.2012
[SOLVED]
Re: Cars Invisible, but there. (RP Server) -
judothijs - 24.10.2012
Use a vehicle streamer.
You've obviously reached the maximum amount of vehicles that you can spawn without a streamer.
Look on the internet for a vehicle streamer, and add it to your script.
That should solve the problem for you.
Re: Cars Invisible, but there. (RP Server) -
Vexus - 24.10.2012
Quote:
Originally Posted by judothijs
Use a vehicle streamer.
You've obviously reached the maximum amount of vehicles that you can spawn without a streamer.
Look on the internet for a vehicle streamer, and add it to your script.
That should solve the problem for you.
|
Any recommendations as to which streamer to use? Or is there only one main one that people would use?
~Vexus
Re: Cars Invisible, but there. (RP Server) -
Yamakei - 24.10.2012
What about the Virtual World && Interior ID?
Re: Cars Invisible, but there. (RP Server) -
nickdodd25 - 25.10.2012
Quote:
Originally Posted by judothijs
Use a vehicle streamer.
You've obviously reached the maximum amount of vehicles that you can spawn without a streamer.
Look on the internet for a vehicle streamer, and add it to your script.
That should solve the problem for you.
|
Um the vehicle system doesn't work that way. If you reach the 2000 vehicle limit, the server will just stop creating the cars.
But as Yamakei said you must have
Код:
LinkVehicleToInterior(vehicleid, interior id);
Somewhere in your code for adding vehicles.
Just search for
Код:
LinkVehicleToInterior
In your code and tell us what you come up with.
Re: Cars Invisible, but there. (RP Server) -
Vexus - 26.10.2012
Quote:
Originally Posted by nickdodd25
Um the vehicle system doesn't work that way. If you reach the 2000 vehicle limit, the server will just stop creating the cars.
But as Yamakei said you must have
Код:
LinkVehicleToInterior(vehicleid, interior id);
Somewhere in your code for adding vehicles.
Just search for
Код:
LinkVehicleToInterior
In your code and tell us what you come up with.
|
I do have LinkVehicleToInterior yes, but I can almost guarantee I havn't reached my 2,000 vehicle limit. There must be some other problem. It isn't to do with the Virtual World or the Interiors. That's all covered, and working fine.
Re: Cars Invisible, but there. (RP Server) -
jessejanssen - 26.10.2012
Quote:
Originally Posted by Vexus
I do have LinkVehicleToInterior yes, but I can almost guarantee I havn't reached my 2,000 vehicle limit. There must be some other problem. It isn't to do with the Virtual World or the Interiors. That's all covered, and working fine.
|
As another poster said, even when you reach the limit, the vehicles won't be invisible but will just not spawn.
This problem is mostly caused by interior mess ups, create an easy command like:
pawn Код:
CMD:setvehicleinterior(playerid, params[])
{
LinkVehicleToInterior(GetPlayerVehicleID(playerid), GetPlayerInterior(playerid));
format(string, sizeof(string), "> Vehicle ID: %d's interior set to %d.", GetPlayerVehicleID(playerid), GetPlayerInterior(playerid));
SendClientMessage(playerid, 0xFFFFFFFF, string);
return 1;
}
Sorry for not indenting but I created it here in the reply box and TAB doesn't work here as it's a webpage.
This ( ZCMD ) command will probably fix your issue OR will give you 100% assurance that this isn't the cause.
Jesse