25.06.2018, 18:51
The value of "place" is probably greater than the size of the PlesI array. Change to:
Also what is this?
It was supposed to be [1], not sure how it was even compiled.
Which is wrong because unless the loop is finished, you cannot know whether a player is in range or not. He does not return 0 either, but a run time error inside a command will break the code execution and no value will be returned (which will show the unknown command).
pawn Код:
for (new x; x < sizeof PlesI; x++)
pawn Код:
PlesI[x][EnterPos][1d]
Which is wrong because unless the loop is finished, you cannot know whether a player is in range or not. He does not return 0 either, but a run time error inside a command will break the code execution and no value will be returned (which will show the unknown command).