[warning] client exceeded 'ackslimit' IP (4323) limit: 3000/sec
#7

Quote:
Originally Posted by Vince
Посмотреть сообщение
This entire piece of code is so confusing and repetitive.
  1. The player that executes the command is always connected (duh) so that check is completely redundant to begin with.
  2. If giveplayerid is connected then giveplayerid is obviously not INVALID_PLAYER_ID so that check is also completely redundant.
  3. You start a loop for sizeof(CarInfo) times, but I have no idea why. The iterating variable (i) isn't even being used.
  4. Use an array for pCarkey instead of creating five separate attributes.
But he fixed it..
How we'll never know
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 2 Guest(s)