
A żeby móc np. "losować" pomiędzy 1/2 a 1/3, da się jakoś? Aby pominąć 1/1.
Bo jak kolega Blood Angel podał, co mi się nie chce skompilować to:
case 38: { informacje_przedmiotu_gracza[id][1] = random_num(2, 3); give_item(id, "weapon_m3"); }
Pisze: error 088: number of arguments does not match definition
W tym także jest błąd:
if(weapon == CSW_M3) { if(informacje_przedmiotu_gracza[0] == 38 && random(2) == 3) damage = float(health); }
Pisze: array must be indexed (variable "informacje_przedmiotu_gracza")