How to empty this string?
#3

Quote:
Originally Posted by playbox12
Посмотреть сообщение
Reset all variables when a player joins, when a player joins in my script I have a stock like. (setting everything to the number 0).

pawn Код:
stock ClearVars(playerid)
{
     Password[playerid] = 0;
};
But I defined Password[playerid] as:
pawn Код:
new Password[MAX_PLAYERS][129]
and your method results in an error about the variable indexed uncorrectly which is understandable .
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)