[Ajuda] Help-Me
#1



pawn Код:
error 028: invalid subscript (not an array or too many subscripts): "NumHouses"
error 017: undefined symbol "i"
error 029: invalid expression, assumed zero
fatal error 107: too many error messages on one line
pawn Код:
forward AtualizarCasa();
public AtualizarCasa()
{
    new NumHouses, String[26], Stringg[26];
    for (new i; i < MAX_HOUSESPERPLAYER; i++)
    {
        if(APlayerData[i][Houses][i] != 0) NumHouses++;
        format(String, sizeof(String), "~w~CASAS:", NumHouses[i]);
        format(Stringg, sizeof(Stringg), "~r~%i", NumHouses[i]);
        TextDrawShowForPlayer(CasaTextDraw[i], String);
        TextDrawSetString(CasaTextDraw[i], String);
        TextDrawShowForPlayer(CasaTextDraw2[i], Stringg);
        TextDrawSetString(CasaTextDraw2[i], Stringg);
    }
    return true;
}
Reply


Messages In This Thread
Help-Me - by feliphemort - 12.05.2013, 22:34
Re: Help-Me - by feliphemort - 12.05.2013, 23:17
Re: Help-Me - by Coreia - 12.05.2013, 23:25
Re: Help-Me - by Baiano - 12.05.2013, 23:27
Re: Help-Me - by feliphemort - 12.05.2013, 23:35
Respuesta: Help-Me - by Parka - 12.05.2013, 23:39
Re: Help-Me - by feliphemort - 12.05.2013, 23:53

Forum Jump:


Users browsing this thread: 3 Guest(s)