How to empty this string?
#5

try

PHP код:
for(new i=0i<MAX_PLAYERSi++) strcpy(Password[i], ""); 
This will clear the entire array, you will need the strcpy() stock though:

PHP код:
stock strcpy(dest[], source[])
{
    
    new 
len strlen(source), i;
    for (
0len++) dest[i] = source[i];
    return 
1;

Reply


Messages In This Thread
How to empty this string? - by Anteino - 24.04.2011, 14:30
Re: How to empty this string? - by playbox12 - 24.04.2011, 14:41
Re: How to empty this string? - by Anteino - 24.04.2011, 15:04
Re: How to empty this string? - by Vince - 24.04.2011, 15:13
Re: How to empty this string? - by Sinner - 24.04.2011, 15:13
Re: How to empty this string? - by playbox12 - 24.04.2011, 15:23
Re: How to empty this string? - by Anteino - 24.04.2011, 15:50
Re: How to empty this string? - by playbox12 - 24.04.2011, 16:08
Re: How to empty this string? - by Anteino - 24.04.2011, 16:31
Re: How to empty this string? - by Anteino - 24.04.2011, 16:51

Forum Jump:


Users browsing this thread: 1 Guest(s)