28.08.2010, 09:52
(
Последний раз редактировалось Mauzen; 28.08.2010 в 10:46.
)
Maybe you wanted to do it this way
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.
pawn Код:
sInfo[Veh] = VehiclesNames[Veh - MIN_VEH_ID];//7158
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.