strmid writing to wrong varible
#9

Quote:
Originally Posted by Paulice
Посмотреть сообщение
No... Like others told you, it needs EOS (End of String).

PHP код:
stock RandomString(strDest[], strLen 10)
{
    
strDest[strLen] = EOS;
    while(
strLen--)
    {
        
strDest[strLen] = random(2) ? (random(26) + (random(2) ? 'a' 'A')) : (random(10) + '0');
    }

okay im fully patched now

ty
Reply


Messages In This Thread
strmid writing to wrong varible - by wallee - 06.09.2017, 05:10
Re: strmid writing to wrong varible - by nG Inverse - 06.09.2017, 05:43
Re: strmid writing to wrong varible - by wallee - 06.09.2017, 07:13
Re: strmid writing to wrong varible - by Vince - 06.09.2017, 08:25
Re: strmid writing to wrong varible - by Misiur - 06.09.2017, 08:32
Re: strmid writing to wrong varible - by wallee - 06.09.2017, 20:13
Re: strmid writing to wrong varible - by wallee - 07.09.2017, 02:31
Re: strmid writing to wrong varible - by Paulice - 07.09.2017, 04:17
Re: strmid writing to wrong varible - by wallee - 07.09.2017, 19:21

Forum Jump:


Users browsing this thread: 1 Guest(s)