Could someone with fresh eye look on this script
#2

Here's one problem already.

pawn Код:
while(pos <= strlen(rpname))
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:
pawn Код:
while(pos < strlen(rpname))
Edit: Your code is also VERY inefficient.
Reply


Messages In This Thread
Could someone with fresh eye look on this script - by Voldemort - 10.02.2011, 21:32
Re: Could someone with fresh eye look on this script - by Krx17 - 10.02.2011, 21:36

Forum Jump:


Users browsing this thread: 1 Guest(s)