SERVER - MAX_VEHICLES exceed
#5

Do you even know what "Index out of bounds" is?

pawn Код:
new
    Some_Vehicle[ MAX_VEHICLES ]
;
You can use indexes 0-1999

However, it passes 65535 (INVALID_VEHICLE_ID) when the max value it could get is MAX_VEHICLES - 1.

You do not need the line? Okay, have fun searching what caused it..

@Pottus: Even if AddStaticVehicleEx returned INVALID_VEHICLE_ID because it reached the limit or due to an invalid modelid, he does not pass LVehicleID (which may be is INVALID_VEHICLE_ID) into any array to that command so the mistake is somewhere else.
Reply


Messages In This Thread
SERVER - MAX_VEHICLES exceed - by nGen.SoNNy - 01.11.2013, 16:39
Re: SERVER - MAX_VEHICLES exceed - by Konstantinos - 01.11.2013, 16:45
Re: SERVER - MAX_VEHICLES exceed - by nGen.SoNNy - 01.11.2013, 16:50
Re: SERVER - MAX_VEHICLES exceed - by Pottus - 01.11.2013, 16:52
Re: SERVER - MAX_VEHICLES exceed - by Konstantinos - 01.11.2013, 16:53
Re: SERVER - MAX_VEHICLES exceed - by nGen.SoNNy - 01.11.2013, 16:59
Re: SERVER - MAX_VEHICLES exceed - by Pottus - 01.11.2013, 17:00
Re: SERVER - MAX_VEHICLES exceed - by nGen.SoNNy - 01.11.2013, 17:04
Re: SERVER - MAX_VEHICLES exceed - by Pottus - 01.11.2013, 17:10
Re: SERVER - MAX_VEHICLES exceed - by Djole1337 - 01.11.2013, 18:00

Forum Jump:


Users browsing this thread: 1 Guest(s)