01.08.2014, 02:27
Instead of this:
You can do just this:
Which is much more efficient.
It doesn't fix your problem though. Try installing the Crashdetect plugin (you can find it on ****** or on these forums in the Plugins section). It might print valuable crash information in your console when you try to run the command again.
Код:
stock GetVehicleName(vehicleid) { new string[28]; format(string, sizeof(string), "%s", VehicleNames[GetVehicleModel(vehicleid) - 400]); return string; }
Код:
#define GetVehicleName(%0) VehicleNames[GetVehicleModel(%0) - 400];
It doesn't fix your problem though. Try installing the Crashdetect plugin (you can find it on ****** or on these forums in the Plugins section). It might print valuable crash information in your console when you try to run the command again.