21.11.2017, 13:33
Let me guess, you just get a different number every time, right?
So here's the mistake:
If you want to fill the tank up, this (the variable Benzin) doesn't have to be a random number, it has to be set to 100, so:
So here's the mistake:
Код:
Benzin[playerid] = random(100);
Код:
Benzin[playerid] = 100;