Numeros disparatados
#2

Vale si, era por problemas de tipos y que me estaba confundiendo con otros lenguajes.
La solucion fue hacer un "casting" o definirlo como float
pawn Код:
new Float:gangZonePointMinX = 800;
new Float:reducion = gangZonePointMinX * 0.15;
Tambien habria valido:
pawn Код:
new gangZonePointMinX = 800;
new Float:reducion = float(gangZonePointMinX) * 0.15;
Reply


Messages In This Thread
Numeros disparatados - by chusothe41 - 07.07.2015, 13:27
Re: Numeros disparatados - by chusothe41 - 07.07.2015, 13:51
Re: Numeros disparatados - by SickAttack - 07.07.2015, 15:55

Forum Jump:


Users browsing this thread: 1 Guest(s)