28.06.2012, 13:34
Thanks, using,
pawn Код:
#include "../include/gl_common.inc"
new VehiclesFiles = 0;
public OnGameModeInit()
{
VehiclesFiles += LoadStaticVehiclesFromFile("vehicles/sf_gen.txt");
VehiclesFiles += LoadStaticVehiclesFromFile("vehicles/sf_airport.txt");
VehiclesFiles += LoadStaticVehiclesFromFile("vehicles/sf_law.txt");
VehiclesFiles += LoadStaticVehiclesFromFile("vehicles/sf_train.txt");
printf("Total vehicles spawned (from files): %d",VehiclesFiles);
return 1;
}