Saving weapons y_ini
#3

A simple check of the "arma[2][1]" to see if the value is greater than 0, if not set "arma[2][0]" to 0.

pawn Код:
arma[2][0] = (arma[2][1] < 1 ? 0 : arma[2][0]);
Reply


Messages In This Thread
Saving weapons y_ini - by Cepillado300 - 01.02.2014, 01:03
Respuesta: Saving weapons y_ini - by Cepillado300 - 02.02.2014, 07:30
Re: Saving weapons y_ini - by alex9419 - 02.02.2014, 07:49
Respuesta: Saving weapons y_ini - by Cepillado300 - 02.02.2014, 08:03

Forum Jump:


Users browsing this thread: 1 Guest(s)