10.02.2011, 21:36
Here's one problem already.
If rpname was 7 characters long, the array would go from 0-6, yet at the end of that loop, pos would equal 7 and thus crash the server.
It should be:
Edit: Your code is also VERY inefficient.
pawn Код:
while(pos <= strlen(rpname))
It should be:
pawn Код:
while(pos < strlen(rpname))