error 035: argument type mismatch (argument 1)
#2

pawn Код:
public RandomFireTimer()
{
    new rndfire = random(sizeof(randomSpawns));
        {
        AddFire(randomSpawns[rndfire][0], randomSpawns[rndfire][1], randomSpawns[rndfire][2]);
        }
    return 1;
}
You don't add brackets after the variable since there was no statement.

Try this.
pawn Код:
public RandomFireTimer()
{
    new rndfire = random(sizeof(randomSpawns));
    AddFire(randomSpawns[rndfire][0], randomSpawns[rndfire][1], randomSpawns[rndfire][2]);
    return 1;
}
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)