Run time error 4: "Array index out of bounds" sscanf
#6

You have too many fuel stations and the array is not that big. Add an error which tells you when you reached the max fuel stations:
pawn Код:
if((SpawnFuels + 1) >= sizeof Fuels) return SendClientMessage(playerid, -1, "There are too many fuel stations !" );
and then try increasing Fuels' array size.
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)