17.01.2016, 14:37
Quote:
try to change this
pawn Код:
pawn Код:
|
EDIT: I've found two workarounds.
1)
Код:
new const g_FireDefaultHealth[E_FIRE_TYPES] = {200, 300, 370, 500, 1000}; // Whenever I need to access the value: float(g_FireDefaultHealth[FIRE_TYPE])
Код:
new const Float: g_FireDefaultHealth[E_FIRE_TYPES][1] = {{200.0}, {300.0}, {370.0}, {500.0}, {1000.0}}; // Whenever I need to access the value: g_FireDefaultHealth[FIRE_TYPE][0]