10.01.2012, 13:29
Hi,
recently my compiler started to refuse compiling my gamemode.
When compiling it crashes with a segmentation fault.
I tracked source of the error down to this line:
The array is defined as follows:
When removing this line the whole thing works just fine even though
this is not the only place in the gamemode where I access this array
in the exact same way.
I hope someone can help me.
Thanks,
Blowfish
recently my compiler started to refuse compiling my gamemode.
When compiling it crashes with a segmentation fault.
Код:
[samp@*** gamemodes]$ pc blrp.pwn Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase Segmentation fault
Код:
carData[vehicleid][car_neon] = strval(tmp);
Код:
enum carData_ {
car_owner,
car_owner_dbid,
car_dbid,
car_team,
car_minrank,
car_job,
car_job_driver,
car_job_lastused,
car_locked,
car_fuel_enabled,
car_fuel,
car_tune_enabled,
car_select_row,
car_dlship,
car_spawned,
car_status,
car_static,
car_neon,
car_neon_obj1,
car_neon_obj2
}
new carData[MAX_VEHICLES][carData_];
this is not the only place in the gamemode where I access this array
in the exact same way.
I hope someone can help me.
Thanks,
Blowfish


