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

line 29
pawn Код:
forward AddFire(Float:x, Float:y, Float:z);
line 318 - 328
pawn Код:
public AddFire(Float:x, Float:y, Float:z)
{
    new slot = GetFlameSlot();
    if(slot == -1) {return slot;}
    Flame[slot][Flame_Exists] = 1;
    Flame[slot][Flame_pos][0] = x;
    Flame[slot][Flame_pos][1] = y;
    Flame[slot][Flame_pos][2] = z - Z_DIFFERENCE;
    Flame[slot][Flame_id] = CreateObject(18689, Flame[slot][Flame_pos][0], Flame[slot][Flame_pos][1], Flame[slot][Flame_pos][2], 0.0, 0.0, 0.0);
    return slot;
}
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)