Little random problem
#2

Maybe you wanted to do it this way

pawn Код:
sInfo[Veh] = VehiclesNames[Veh - MIN_VEH_ID];//7158
Edit: Oops, no, I think the vehicle was correct

Edit 2: the problem is the [Veh - MIN_VEH_ID]. If the random returns e.g. 10, but MIN_VEH_ID is 20, it will result a negative value and crash the server.
Reply


Messages In This Thread
Little random problem - by DyDy - 28.08.2010, 08:18
Re: Little random problem - by Mauzen - 28.08.2010, 09:52

Forum Jump:


Users browsing this thread: 1 Guest(s)