How to empty this string?
#4

pawn Код:
Password[playerid][0] = EOS;
Should work. EOS = End Of String = '\0'. This effectively empties the string, and if you use the strlen function it will also return 0.
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)